Module proptest::strategy
[−]
[src]
Defines the core traits used by Proptest.
Modules
| statics |
Modified versions of the normal strategy combinators which take specialised traits instead of normal functions. |
Structs
| CheckStrategySanityOptions |
Options passed to |
| Filter |
|
| Flatten |
Adaptor that flattens a |
| FlattenValueTree |
The |
| Fuse |
Adaptor for |
| IndFlatten |
Similar to |
| IndFlattenMap |
Similar to |
| Just |
A |
| Map |
|
| NoShrink |
Wraps a |
| Perturb |
|
| PerturbValueTree |
|
| Recursive |
Return type from |
| Shuffle |
|
| ShuffleValueTree |
|
| Singleton |
A |
| TupleUnion |
Similar to |
| TupleUnionValueTree |
|
| Union |
A |
| UnionValueTree |
|
Traits
| Shuffleable |
A value which can be used with the |
| Strategy |
A strategy for producing arbitrary values of a given type. |
| ValueTree |
A generated value and its associated shrinker. |
Functions
| check_strategy_sanity |
Run some tests on the given |
| float_to_weight |
Convert a floating-point weight in the range (0.0,1.0) to a pair of weights
that can be used with |
Type Definitions
| BoxedStrategy |
Shorthand for a boxed |
| SBoxedStrategy |
Shorthand for a boxed |
| ValueFor |
The value that functions under test use for a particular |
| W |
A relative |