From ed4e54939b916c3a3de10311e66791ab85b84a6a Mon Sep 17 00:00:00 2001 From: Folkert van Heusden Date: Thu, 3 Apr 2025 23:38:24 +0200 Subject: [PATCH] use static rand() seed for reproducability --- PDP11/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PDP11/test.c b/PDP11/test.c index bec4419b..ed203eb1 100644 --- a/PDP11/test.c +++ b/PDP11/test.c @@ -31,6 +31,8 @@ void produce_validation_tests() { 0106700, 0107777 }, }; + srand(123); // for reproducability + for(int i=0; i<65536; i++) { int skip = 0; for(int test=0; test<6; test++) {