Mon, 18 May 2015 20:39:04 +0200
added 1 assert in ucx_avl_remove tests and fixed source code formatting
test/avl_tests.c | file | annotate | diff | comparison | revisions | |
ucx/avl.c | file | annotate | diff | comparison | revisions |
--- 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);