|
Hegel 0.18.3
Property-based testing for C++
|
Parameters for text() generator. More...
#include <strings.h>
Public Attributes | |
| size_t | min_size = 0 |
| Minimum string length. | |
| std::optional< size_t > | max_size |
| std::optional< std::string > | codec |
| Restrict to this codec. | |
| std::optional< uint32_t > | min_codepoint |
| Minimum Unicode codepoint. | |
| std::optional< uint32_t > | max_codepoint |
| Maximum Unicode codepoint. | |
| std::optional< std::vector< std::string > > | categories |
| Whitelist of Unicode categories. | |
| std::optional< std::vector< std::string > > | exclude_categories |
| Blacklist of Unicode categories. | |
| std::optional< std::string > | include_characters |
| Always include these characters. | |
| std::optional< std::string > | exclude_characters |
| Always exclude these characters. | |
| std::optional< std::string > | alphabet |
| Fixed set of allowed characters. | |
Parameters for text() generator.
| std::optional<size_t> hegel::generators::TextParams::max_size |
Maximum string length. Default: 100, or min_size + 100 when min_size is above 100