Generator for random values of A
.
Generator for random values of A
.
- Companion
- object
Value members
Concrete methods
Discards the generator if the generated value does not satisfy the predicate.
Discards the generator if the generated value does not satisfy the predicate.
Generates a value that satisfies a predicate.
Generates a value that satisfies a predicate.
We keep some state to avoid looping forever. If we trigger these limits then the whole generator is discarded.
Generates a list using a 'Range' to determine the length.
Generates a list using a 'Range' to determine the length.
Override the size parameter. Returns a generator which uses the given size instead of the runtime-size parameter.
Override the size parameter. Returns a generator which uses the given size instead of the runtime-size parameter.
Adjust the size parameter by transforming it with the given function.
Adjust the size parameter by transforming it with the given function.
Make a generator smaller by scaling its size parameter.
Make a generator smaller by scaling its size parameter.