Module proptest::char
[−]
[src]
Strategies for generating char
values.
Unlike most strategies in Proptest, character generation is by default biased to particular values known to be difficult to handle in various circumstances.
The main things of interest are ANY
to generate truly arbitrary
characters, and range()
and ranges()
to select characters from
inclusive ranges.
Structs
CharStrategy |
Strategy for generating |
CharValueTree |
The |
Constants
ANY |
The |
DEFAULT_PREFERRED_RANGES |
A default sequence of ranges used preferentially when generating random characters. |
DEFAULT_SPECIAL_CHARS |
A default set of characters to consider as "special" during character generation. |
Functions
range |
Creates a |
ranges |
Creates a |
select_char |
Selects a random character the way |