Hegel 0.18.3
Property-based testing for C++
Loading...
Searching...
No Matches
hegel::generators::temporal::InstantsParams< Instant > Struct Reference

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

Detailed Description

Parameters for instants() generator over Instant.

Member Data Documentation

◆ max_value

Maximum instant (inclusive). Default: the last nanosecond of MAX_INSTANT.

◆ precision

The drawn instant is a whole number of these units since the Unix epoch.


The documentation for this struct was generated from the following file: