123456789101112131415 |
- package kata_test
- import (
- . "github.com/onsi/ginkgo"
- . "github.com/onsi/gomega"
- )
- var _ = Describe("Basic tests", func() {
- It("MaxMultiple(2, 7)", func() { Expect(MaxMultiple(2, 7)).To(Equal(6)) })
- It("MaxMultiple(3, 10)", func() { Expect(MaxMultiple(3, 10)).To(Equal(9)) })
- It("MaxMultiple(7, 17)", func() { Expect(MaxMultiple(7, 17)).To(Equal(14)) })
- It("MaxMultiple(10, 50)", func() { Expect(MaxMultiple(10, 50)).To(Equal(50)) })
- It("MaxMultiple(37, 200)", func() { Expect(MaxMultiple(37, 200)).To(Equal(185)) })
- It("MaxMultiple(7, 100)", func() { Expect(MaxMultiple(7, 100)).To(Equal(98)) })
- })
|