From 3b82757e5cbf427d5e927b1df1f0d3294479d0ea Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 30 Jun 2016 15:26:45 +1000 Subject: [PATCH] test/random: use a constant seed --- test/random.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/random.cpp b/test/random.cpp index 9e6b93b6..7bb7dafd 100644 --- a/test/random.cpp +++ b/test/random.cpp @@ -60,7 +60,7 @@ int main (int, char **) { util::TAP::logger tap; - srand (time (NULL)); + srand (0u); test_bool (tap); test_float (tap);