phase de debug avec des printf partout
This commit is contained in:
Binary file not shown.
@@ -64,11 +64,12 @@ t_list *launch_algo(t_stack *a)
|
|||||||
b = NULL;
|
b = NULL;
|
||||||
solution = ft_lstnew(&a);
|
solution = ft_lstnew(&a);
|
||||||
ft_lstadd_back(&solution, ft_lstnew(&b));
|
ft_lstadd_back(&solution, ft_lstnew(&b));
|
||||||
print_test(solution, "launch_algo ");
|
print_test(solution, "launch_algo ");
|
||||||
fill_solution(solution, ft_strdup("start"));
|
fill_solution(solution, ft_strdup("start"));
|
||||||
print_test(solution, "launch_algo (after fill) ");
|
print_test(solution, "launch_algo (after fill) ");
|
||||||
hugo_sort(&a, &b, solution);
|
hugo_sort(&a, &b, solution);
|
||||||
//bubble_sort(&a, &b, solution);
|
//bubble_sort(&a, &b, solution);
|
||||||
|
print_test(solution, "launch_algo (bfr return) ");
|
||||||
return (solution);
|
return (solution);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user