From 585ab7be4ca4f3afd13f47b47151a951bb485d6b Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Mon, 12 Feb 2024 17:27:25 -0800 Subject: [PATCH] 1 test --- stresstest.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/stresstest.c b/stresstest.c index 0774433..c9b6559 100644 --- a/stresstest.c +++ b/stresstest.c @@ -420,21 +420,21 @@ int main(void) { int64_t sizes[TESTS]; srand48(SEED); stable_tests(); - // fill_random(sizes, TESTS); + fill_random(sizes, TESTS); - // for (i = 0; i < TESTS; i++) { - // RAND_RANGE(sizes[i], 1, MAXSIZE); - // } + for (i = 0; i < TESTS; i++) { + RAND_RANGE(sizes[i], 1, MAXSIZE); + } - // sizes[TESTS - 1] = MAXSIZE; + sizes[TESTS - 1] = MAXSIZE; - // for (i = 0; i < FILL_LAST_ELEMENT; i++) { - // int result = run_tests(sizes, TESTS, i); + for (i = 0; i < 1; i++) { + int result = run_tests(sizes, TESTS, i); - // if (result) { - // return 1; - // } - // } + if (result) { + return 1; + } + } return 0; }