10#include "hegel/generators/numeric.h"
52 using result_type = uint32_t;
76 static constexpr result_type min() {
77 return std::numeric_limits<result_type>::min();
80 static constexpr result_type max() {
81 return std::numeric_limits<result_type>::max();
85 result_type operator()();
92 std::size_t count = 0;
96 std::optional<std::mt19937> engine_;
97 std::shared_ptr<Record> record_ = std::make_shared<Record>();
Writes to the document that a failure report shows.
Definition printer.h:55
static Printer noop()
A printer that discards everything.
Handle to the currently-executing test case.
Definition test_case.h:46
A printable generator: TestCase::draw() accepts it.
Definition core.h:470
A random engine whose values Hegel generates.
Definition random.h:49
Hegel generators.
Definition core.h:25
Generator< HegelRandom > randoms(RandomsParams params={})
Generate random number generators.
Parameters for randoms() generator.
Definition random.h:17
bool use_true_random
Definition random.h:18