Hegel 0.18.3
Property-based testing for C++
Loading...
Searching...
No Matches
hegel::generators::RandomsParams Struct Reference

Parameters for randoms() generator. More...

#include <random.h>

Public Attributes

bool use_true_random

Detailed Description

Parameters for randoms() generator.

Member Data Documentation

◆ use_true_random

bool hegel::generators::RandomsParams::use_true_random
Initial value:
=
false

If true, use a local PRNG that Hegel seeds once, instead of drawing every value from the engine. Use this mode when the cost of a draw for every value is too high. Values produced in true-random mode cannot be shrunk.


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