12345678910111213141516 |
- package kata_test
- import (
- . "github.com/onsi/ginkgo"
- . "github.com/onsi/gomega"
- . "code.osinet.fr/fgm/codewars/kyu7/simple_fun_74_growing_plant"
- )
- var _ = Describe("Basic tests", func() {
- //It("GrowingPlant(100, 10, 50)", func() { Expect(GrowingPlant(100, 10, 50)).To(Equal(1)) })
- //It("GrowingPlant(100, 10, 910)", func() { Expect(GrowingPlant(100, 10, 910)).To(Equal(10)) })
- It("GrowingPlant(10, 9, 4)", func() { Expect(GrowingPlant(10, 9, 4)).To(Equal(1)) })
- It("GrowingPlant(5, 2, 5)", func() { Expect(GrowingPlant(5, 2, 5)).To(Equal(1)) })
- It("GrowingPlant(5, 2, 6)", func() { Expect(GrowingPlant(5, 2, 6)).To(Equal(2)) })
- })
|