tests/test_tree.c

changeset 911
db829e54539e
parent 909
f4e00bb3f3b2
child 913
72db8e42b95e
equal deleted inserted replaced
910:5c2af036103f 911:db829e54539e
1201 tree_node_file_layout 1201 tree_node_file_layout
1202 ); 1202 );
1203 CX_TEST_ASSERT(result == 0); 1203 CX_TEST_ASSERT(result == 0);
1204 CX_TEST_ASSERT(root.children == node); 1204 CX_TEST_ASSERT(root.children == node);
1205 CX_TEST_ASSERT(node->parent == &root); 1205 CX_TEST_ASSERT(node->parent == &root);
1206 free(node);
1206 } 1207 }
1207 } 1208 }
1208 1209
1209 CX_TEST(test_tree_add_zero) { 1210 CX_TEST(test_tree_add_zero) {
1210 CxTestingAllocator talloc; 1211 CxTestingAllocator talloc;

mercurial