push pour checkout debug

This commit is contained in:
hugogogo
2021-06-17 10:25:17 +02:00
parent 924645e71c
commit ed8268d7b0
7 changed files with 0 additions and 34 deletions

View File

@@ -64,9 +64,7 @@ t_list *launch_algo(t_stack *a)
b = NULL;
solution = ft_lstnew(&a);
ft_lstadd_back(&solution, ft_lstnew(&b));
print_test(solution, "launch_algo ");
fill_solution(solution, ft_strdup("start"));
print_test(solution, "launch_algo (after fill) ");
hugo_sort(&a, &b, solution);
//bubble_sort(&a, &b, solution);
return (solution);
@@ -90,9 +88,6 @@ int main(int ac, char **av)
flag = check_flag(&ac, &av);
stack = init_stack(ac, av);
result = launch_algo(stack);
print_test(result, "main ");
//sa(&stack, &result);
print_result(result, flag);
ps_stop(NULL, result, 0);
return(0);