--- a/test/test_tree.c Sun Oct 03 15:40:38 2021 +0200 +++ b/test/test_tree.c Sun Oct 03 16:02:53 2021 +0200 @@ -42,7 +42,7 @@ TestNode *children_end; }; -void test_cx_tree_add_node(void) { +void test_tree_add_sibling(void) { // prepare test tree TestNode root; memset(&root, 0, sizeof(TestNode)); @@ -73,7 +73,7 @@ CU_ASSERT_PTR_EQUAL(b.next, &c) } -void test_cx_tree_add_child_node(void) { +void test_tree_add_child(void) { // prepare test tree TestNode root; memset(&root, 0, sizeof(TestNode)); @@ -153,10 +153,9 @@ suite = CU_add_suite("tree suite", NULL, NULL); - CU_add_test(suite, "ll add tree node", test_cx_tree_add_node); - CU_add_test(suite, "ll add tree child node", test_cx_tree_add_child_node); - - + cu_add_test(suite, test_tree_add_sibling); + cu_add_test(suite, test_tree_add_child); + CU_basic_set_mode(UCX_CU_BRM); int exitcode;