Add _sort_p algorithm

This commit is contained in:
Patrick Pelissier committed 2017-05-22 18:22:11 +02:00
1 parent b12701c381
commit f14e5222ad
2 files changed
+21 -1

No files matched your search

+2 -1
View File
@@ -54,8 +54,9 @@ static void test_list(void)
for(int i = -100; i < 100; i+=2)
list_int_push_back (l, i);
assert (!algo_list_sort_p(l));
algo_list_sort(l);
// TODO: assert (algo_list_sort_p(l));
assert (algo_list_sort_p(l));
list_int_clear(l);