|
Hegel 0.3.5
Property-based testing for C++
|
Parameters for floats() generator. More...
#include <numeric.h>
Public Attributes | |
| std::optional< T > | min_value |
| Minimum value. Default: no minimum. | |
| std::optional< T > | max_value |
| Maximum value. Default: no maximum. | |
| bool | exclude_min |
| If true, exclude min_value (exclusive bound). | |
| bool | exclude_max |
| If true, exclude max_value (exclusive bound). | |
| std::optional< bool > | allow_nan |
| Allow NaN. Default: true if unbounded. | |
| std::optional< bool > | allow_infinity |
| Allow infinity. Default: true if unbounded. | |
Parameters for floats() generator.
| T | The floating point type |
| bool hegel::generators::FloatsParams< T >::exclude_max |
If true, exclude max_value (exclusive bound).
| bool hegel::generators::FloatsParams< T >::exclude_min |
If true, exclude min_value (exclusive bound).