fix generation of random numbers to be more dynamic
This commit is contained in:
@@ -81,7 +81,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
// Prepare for sort tests
|
||||
for (i = 0; i < n; i++) {
|
||||
test_case[i] = gen_rand(-20, 100);
|
||||
test_case[i] = gen_rand(-100, 100);
|
||||
}
|
||||
memcpy(qarray, test_case, sizeof(int) * n);
|
||||
memcpy(test_array, test_case, sizeof(int) * n);
|
||||
|
Reference in New Issue
Block a user