test/avl_tests.c

changeset 203
3d999ea3f780
parent 201
45810f5b7b84
child 204
4477987d40cd
--- a/test/avl_tests.c	Mon May 18 20:32:29 2015 +0200
+++ b/test/avl_tests.c	Mon May 18 20:39:04 2015 +0200
@@ -199,6 +199,7 @@
         ucx_avl_remove(tree2, i);
         UCX_TEST_ASSERT(check_tree(tree2->root), "check_tree failed (tree2)");
     }
+    UCX_TEST_ASSERT(tree2->root == NULL, "root not NULL (tree2)");
     
     for(int i=0;i<100000;i++) {
         ucx_avl_put(tree3, i, data1);

mercurial