1 package seed_fixture_test 2 3 import ( 4 "testing" 5 6 . "github.com/onsi/ginkgo/v2" 7 . "github.com/onsi/gomega" 8 ) 9 10 func TestSeedFixture(t *testing.T) { 11 RegisterFailHandler(Fail) 12 RunSpecs(t, "SeedFixture Suite") 13 } 14 15 var _ = BeforeSuite(func() { 16 Ω(GinkgoRandomSeed()).Should(Equal(int64(0))) 17 }) 18 19 var _ = It("has the expected seed (namely, 0)", func() { 20 Ω(GinkgoRandomSeed()).Should(Equal(int64(0))) 21 }) 22