github.com/leanovate/gopter@v0.2.9/gen/bool_test.go (about) 1 package gen_test 2 3 import ( 4 "testing" 5 6 "github.com/leanovate/gopter/gen" 7 ) 8 9 func TestBool(t *testing.T) { 10 commonGeneratorTest(t, "bool", gen.Bool(), func(value interface{}) bool { 11 _, ok := value.(bool) 12 return ok 13 }) 14 }