summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/kD_splay_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libdimension/kD_splay_tree.c b/tests/libdimension/kD_splay_tree.c
index 4ab994a..76f6441 100644
--- a/tests/libdimension/kD_splay_tree.c
+++ b/tests/libdimension/kD_splay_tree.c
@@ -52,14 +52,14 @@ main()
}
tree = dmnsn_kD_splay_insert(tree, obj2);
- if (tree->object != obj2 || tree->left->object != obj1) {
+ if (tree->object != obj2 || tree->contains->object != obj1) {
fprintf(stderr, "Wrong kD splay tree built.\n");
return EXIT_FAILURE;
}
tree = dmnsn_kD_splay_insert(tree, obj3);
- if (tree->object != obj3 || tree->left->object != obj1
- || tree->right->object != obj2) {
+ if (tree->object != obj3 || tree->contains->object != obj1
+ || tree->container->object != obj2) {
fprintf(stderr, "Wrong kD splay tree built.\n");
return EXIT_FAILURE;
}