197 |
197 |
198 for(int i=0;i<20;i++) { |
198 for(int i=0;i<20;i++) { |
199 ucx_avl_remove(tree2, i); |
199 ucx_avl_remove(tree2, i); |
200 UCX_TEST_ASSERT(check_tree(tree2->root), "check_tree failed (tree2)"); |
200 UCX_TEST_ASSERT(check_tree(tree2->root), "check_tree failed (tree2)"); |
201 } |
201 } |
|
202 UCX_TEST_ASSERT(tree2->root == NULL, "root not NULL (tree2)"); |
202 |
203 |
203 for(int i=0;i<100000;i++) { |
204 for(int i=0;i<100000;i++) { |
204 ucx_avl_put(tree3, i, data1); |
205 ucx_avl_put(tree3, i, data1); |
205 } |
206 } |
206 for(int i=100000-1;i>=0;i--) { |
207 for(int i=100000-1;i>=0;i--) { |