57 CHECK (0 <= r1 and r1 < RAND_MAX);
60 CHECK (0 <= r2 and r2 < RAND_MAX);
78 uint64_t getSeed()
override {
return 55; }
85 uint64_t r2 = src1.u64();
86 double r3 = src1.uni();
89 CHECK (r1 == src2.i32());
90 CHECK (r2 == src2.u64());
91 CHECK (r3 == src2.uni());
94 CHECK (src1.i32() != src2.i32());
96 src2.randomise(coreOfEvil);
97 CHECK (src1.i32() == src2.i32());
void randomise(SeedNucleus &)
inject controlled randomisation
Access point to a selection of random number sources.
void verify_reproducibleSequence()
Implementation namespace for support and library code.
Simple test class runner.
Establishes a seed point for any instance or performance.
Generating (pseudo) random numbers with controlled seed.