Module proptest::bool

source ·
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 or false uniformly.

Functions

Generates boolean values by picking true with the given probability (1.0 = always true, 0.0 = always false).