ponyc
ponyc copied to clipboard
Ponycheck: add a Generator combinator for adding one or more example values that should always be generated
Example:
Generators.u8().with(0)
This generator will create random U8
values but will always include 0
as well. That is the property that is checked with this generator will definitely be called with 0 no matter the state of the source of Randomness.