/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* test.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet #include "pushswap.h" int main() { int tab[] = {1,2,3,4,-1}; int i; i = -1; while (tab[++i] != -1) printf("%d, ", tab[i]); printf("\n"); ft_ra(tab); printf("\n"); i = -1; while (tab[++i] != -1) printf("%d, ", tab[i]); }