Home
last modified time | relevance | path

Searched refs:rn (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/ktest/
Dtest-bitree.c42 struct bt_node_t *rn = bt_create_node(NULL, NULL, NULL, tv1); in ktest_bitree_case1() local
44 assert(rn != NULL); in ktest_bitree_case1()
45 assert((int64_t)rn != (-EINVAL)); in ktest_bitree_case1()
46 assert(rn->value == tv1); in ktest_bitree_case1()
48 struct bt_root_t *tree = bt_create_tree(rn, compare, release); in ktest_bitree_case1()
50 assert(tree->bt_node == rn); in ktest_bitree_case1()
109 assert(bt_delete(tree, rn->value) == 0); in ktest_bitree_case1()