Expand description
Strategies for generating std::Option values.
Structs§
- Strategy which generates
Optionvalues whose innerSomevalues are generated by another strategy. ValueTreetype corresponding toOptionStrategy.- A probability in the range
[0.0, 1.0]with a default of0.5.
Functions§
- Return a strategy producing
Optionalvalues wrapping values from the given delegate strategy. - Creates a
Probabilityfrom some value that is convertible into it. - Return a strategy producing
Optionalvalues wrapping values from the given delegate strategy.