aboutsummaryrefslogtreecommitdiff
path: root/tests/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/list.c')
-rw-r--r--tests/list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/list.c b/tests/list.c
index 25fa323..722568b 100644
--- a/tests/list.c
+++ b/tests/list.c
@@ -20,14 +20,14 @@ START_TEST ( test_list_all ) {
/* Not implemented
list_sort(&root);
-
- ck_assert_int_eq( list_length(root), 9 );
*/
+ ck_assert_int_ne( list_sort(&root), 0 );
+ ck_assert_int_eq( list_length(&root), 9 );
for ( i=0; i<=8; i++ )
ck_assert_int_eq(*(int*)list_pop_front(&root), i);
- /*ck_assert_int_eq( list_length(root), 0 );*/
+ ck_assert_int_eq( list_length(&root), 0 );
} END_TEST