Documentation
¶
Index ¶
- func AddRandomGenerator(generatorFunc func() interface{})
- func Boolean() bool
- func Check(t *testing.T, name string, propertyFunc interface{})
- func CreateOneOfGenerator(values ...interface{}) func() interface{}
- func Int() int
- func OneOf(values ...interface{}) interface{}
- func String() string
- func StringContainingOnly(chars []rune) string
- type RandomGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRandomGenerator ¶
func AddRandomGenerator(generatorFunc func() interface{})
AddRandomGenerator instals
func CreateOneOfGenerator ¶
func CreateOneOfGenerator(values ...interface{}) func() interface{}
CreateOneOfGenerator creates a 'one of' random generator
func StringContainingOnly ¶
StringContainingOnly returns an arbitrary string value containing only the specified characters
Types ¶
type RandomGenerator ¶
type RandomGenerator struct {
// contains filtered or unexported fields
}
RandomGenerator random generator
Click to show internal directories.
Click to hide internal directories.