diff --git a/utils/utils_test.go b/utils/utils_test.go index eb1758696..4dbb880a7 100644 --- a/utils/utils_test.go +++ b/utils/utils_test.go @@ -125,12 +125,24 @@ var _ = Describe("Utils", func() { It("returns the maximum", func() { Expect(Max(5, 7)).To(Equal(7)) }) + + It("returns the maximum uint64", func() { + Expect(MaxUint64(5, 7)).To(Equal(uint64(7))) + }) + + It("returns the maximum int64", func() { + Expect(MaxInt64(5, 7)).To(Equal(int64(7))) + }) }) Context("Min", func() { It("returns the minimum", func() { Expect(Min(5, 7)).To(Equal(5)) }) + + It("returns the minimum int64", func() { + Expect(MinInt64(5, 7)).To(Equal(int64(5))) + }) }) Context("Rand", func() {