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; |