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

Parameters for durations() generator over SignedDuration. More...

#include <temporal.h>

Public Attributes

std::optional< SignedDuration > min_value
std::optional< SignedDuration > max_value
Precision precision = Precision::Nanoseconds
 The drawn duration is a whole number of these units.

Detailed Description

Parameters for durations() generator over SignedDuration.

Member Data Documentation

◆ max_value

Maximum duration (inclusive). Default: int64_t maximum seconds and 999999999 nanoseconds.

◆ min_value

Minimum duration (inclusive). Default: int64_t minimum seconds and -999999999 nanoseconds.


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