GenObj[T: T]¶
Public Functions¶
generate¶
Parameters¶
- rnd: Randomness ref
Returns¶
- (T^ | (T^ , Iterator[T^] ref)) ?
shrink¶
Parameters¶
- t: T
Returns¶
- (T^ , Iterator[T^] ref)
generate_value¶
Simply generate a value and ignore any possible shrink values.
Parameters¶
- rnd: Randomness ref
Returns¶
- T^ ?
generate_and_shrink¶
Generate a value and also return a shrink result,
even if the generator does not return any when calling generate
.
Parameters¶
- rnd: Randomness ref
Returns¶
- (T^ , Iterator[T^] ref) ?
iter¶
Parameters¶
- rnd: Randomness ref
Returns¶
value_iter¶
Parameters¶
- rnd: Randomness ref
Returns¶
- Iterator[T^] ref
value_and_shrink_iter¶
Parameters¶
- rnd: Randomness ref