fix generation of random numbers to be more dynamic

This commit is contained in:
2018-11-11 20:15:30 -03:00
parent 893d47bf2e
commit a31eababb7
2 changed files with 4 additions and 4 deletions

View File

@@ -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);