Skip to content

Commit

Permalink
1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
swenson committed Feb 13, 2024
1 parent 068637d commit 585ab7b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions stresstest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 585ab7b

Please sign in to comment.