Merge branch 'fixtest' of UBB/sort into master

Este commit está contenido en:
Chris Cromer 2018-11-14 20:21:54 -03:00 cometido por Gitea
commit ff5f118989
Se han modificado 1 ficheros con 3 adiciones y 3 borrados

Ver fichero

@ -59,17 +59,17 @@ int main(int argc, char **argv) {
test_case = malloc(sizeof(int) * n);
if (test_case == NULL) {
fprintf("Error: Out of heap space!\n");
fprintf(stderr, "Error: Out of heap space!\n");
exit(1);
}
qarray = malloc(sizeof(int) * n);
if (qarray == NULL) {
fprintf("Error: Out of heap space!\n");
fprintf(stderr, "Error: Out of heap space!\n");
exit(1);
}
test_array = malloc(sizeof(int) * n);
if (test_array == NULL) {
fprintf("Error: Out of heap space!\n");
fprintf(stderr, "Error: Out of heap space!\n");
exit(1);
}