summaryrefslogtreecommitdiff
path: root/test/test_rdxtree.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-06-07 00:56:31 +0200
committerRichard Braun <rbraun@sceen.net>2013-06-07 00:56:31 +0200
commit0e0932c4b2eb43b71fe9a4ee9e002819cecf1f11 (patch)
treea2b70212080ce851f04af5e83d0fb56bbe81d6f4 /test/test_rdxtree.c
parent9106f9a7620f53e2b2cdbc66158aa51bd317d6e2 (diff)
test_rdxtree: fix test 5
Diffstat (limited to 'test/test_rdxtree.c')
-rw-r--r--test/test_rdxtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_rdxtree.c b/test/test_rdxtree.c
index 250ce69..6aefeef 100644
--- a/test/test_rdxtree.c
+++ b/test/test_rdxtree.c
@@ -228,10 +228,10 @@ test_5(void)
TITLE("insert 0 and 4096");
rdxtree_init(&tree);
- obj = obj_create(4096);
+ obj = obj_create(0);
error = rdxtree_insert(&tree, obj->id, obj);
assert(!error);
- obj = obj_create(0);
+ obj = obj_create(4096);
error = rdxtree_insert(&tree, obj->id, obj);
assert(!error);
print_tree(&tree);