k_test.go 399 B

12345678910111213
  1. package kata_test
  2. import (
  3. . "github.com/onsi/ginkgo"
  4. . "github.com/onsi/gomega"
  5. )
  6. var _ = Describe("Test Example", func() {
  7. It("should test that the solution returns the correct value", func() {
  8. Expect(FindShort("bitcoin take over the world maybe who knows perhaps")).To(Equal(3))
  9. Expect(FindShort("turns out random test cases are easier than writing out basic ones")).To(Equal(3))
  10. })
  11. })