Add _sort_p algorithm
This commit is contained in:
1 parent
b12701c381
commit
f14e5222ad
2 files changed
+21
-1
No files matched your search
+2
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user