Module zebra_test::prelude::prop::bool
Expand description
Strategies for generating bool
values.
Structs§
- The type of the
ANY
constant. - The
ValueTree
to shrink booleans to false. - The return type from
weighted()
.
Constants§
- Generates boolean values by picking
true
orfalse
uniformly.
Functions§
- Generates boolean values by picking
true
with the givenprobability
(1.0 = always true, 0.0 = always false).