Skip to content

Commit 585ab7b

Browse files
committed
1 test
1 parent 068637d commit 585ab7b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

stresstest.c

+11-11
Original file line numberDiff line numberDiff line change
@@ -420,21 +420,21 @@ int main(void) {
420420
int64_t sizes[TESTS];
421421
srand48(SEED);
422422
stable_tests();
423-
// fill_random(sizes, TESTS);
423+
fill_random(sizes, TESTS);
424424

425-
// for (i = 0; i < TESTS; i++) {
426-
// RAND_RANGE(sizes[i], 1, MAXSIZE);
427-
// }
425+
for (i = 0; i < TESTS; i++) {
426+
RAND_RANGE(sizes[i], 1, MAXSIZE);
427+
}
428428

429-
// sizes[TESTS - 1] = MAXSIZE;
429+
sizes[TESTS - 1] = MAXSIZE;
430430

431-
// for (i = 0; i < FILL_LAST_ELEMENT; i++) {
432-
// int result = run_tests(sizes, TESTS, i);
431+
for (i = 0; i < 1; i++) {
432+
int result = run_tests(sizes, TESTS, i);
433433

434-
// if (result) {
435-
// return 1;
436-
// }
437-
// }
434+
if (result) {
435+
return 1;
436+
}
437+
}
438438

439439
return 0;
440440
}

0 commit comments

Comments
 (0)