Module proptest::bool [] [src]

Strategies for generating bool values.

Structs

Any

The type of the ANY constant.

BoolValueTree

The ValueTree to shrink booleans to false.

Weighted

The return type from weighted().

Constants

ANY

Generates boolean values by picking true or false uniformly.

Functions

weighted

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