|
Hegel 0.18.3
Property-based testing for C++
|
Parameters for instants() generator over Instant. More...
#include <temporal.h>
Public Attributes | |
| std::optional< Instant > | min_value |
| Minimum instant (inclusive). Default: MIN_INSTANT. | |
| std::optional< Instant > | max_value |
| Precision | precision = Precision::Nanoseconds |
Parameters for instants() generator over Instant.
| std::optional<Instant> hegel::generators::temporal::InstantsParams< Instant >::max_value |
Maximum instant (inclusive). Default: the last nanosecond of MAX_INSTANT.
| Precision hegel::generators::temporal::InstantsParams< Instant >::precision = Precision::Nanoseconds |
The drawn instant is a whole number of these units since the Unix epoch.