k_test.go 379 B

12345678910111213141516
  1. package kata_test
  2. import (
  3. . "github.com/onsi/ginkgo"
  4. . "github.com/onsi/gomega"
  5. . "code.osinet.fr/fgm/codewars/kyu6/highest_rank_number_in_an_array"
  6. )
  7. var _ = Describe("Tests", func() {
  8. Describe("Sample tests", func() {
  9. It("Sample test 1: 12, 10, 8, 12, 7, 6, 4, 10, 12", func() {
  10. Expect(HighestRank([]int{12, 10, 8, 12, 7, 6, 4, 10, 12})).To(Equal(12))
  11. })
  12. })
  13. })