From 011a119ecda46ed50edb9e9ba8002db91e2b5a70 Mon Sep 17 00:00:00 2001 From: mzuenni Date: Fri, 2 Aug 2024 15:46:22 +0200 Subject: add fuzz script --- test/util.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/util.h') diff --git a/test/util.h b/test/util.h index bfa35d8..6f23b82 100644 --- a/test/util.h +++ b/test/util.h @@ -24,7 +24,11 @@ namespace details { } namespace Random { - mt19937_64 rng(3141592653589793238ll); + #ifdef SEED + mt19937_64 rng(SEED); + #else + mt19937_64 rng(3141592653589793238ll); + #endif template T integer(T l, T r) { return uniform_int_distribution(l, r-1)(rng); -- cgit v1.2.3