summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/kD_splay_tree.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-19 02:34:22 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-19 02:34:22 -0500
commit4dcb998baf07243838afcb4e202b7fd89399972e (patch)
treed4cbde7810ed2042ab4f8ef70024184f3511f5fb /tests/libdimension/kD_splay_tree.c
parent4c55801feb15617888472def76ca4d1a60b3a107 (diff)
downloaddimension-4dcb998baf07243838afcb4e202b7fd89399972e.tar.xz
Use dmnsn_new_*() rather than dmnsn_*_construct().
Diffstat (limited to 'tests/libdimension/kD_splay_tree.c')
-rw-r--r--tests/libdimension/kD_splay_tree.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/libdimension/kD_splay_tree.c b/tests/libdimension/kD_splay_tree.c
index eca684b..ea53550 100644
--- a/tests/libdimension/kD_splay_tree.c
+++ b/tests/libdimension/kD_splay_tree.c
@@ -34,14 +34,14 @@ main()
obj2 = dmnsn_new_object();
obj3 = dmnsn_new_object();
- obj1->min = dmnsn_vector_construct(0.0, 0.0, 0.0);
- obj1->max = dmnsn_vector_construct(1.0, 1.0, 1.0);
+ obj1->min = dmnsn_new_vector(0.0, 0.0, 0.0);
+ obj1->max = dmnsn_new_vector(1.0, 1.0, 1.0);
- obj2->min = dmnsn_vector_construct(-2.0, -2.0, -2.0);
- obj2->max = dmnsn_vector_construct(1.0, 1.0, 1.0);
+ obj2->min = dmnsn_new_vector(-2.0, -2.0, -2.0);
+ obj2->max = dmnsn_new_vector(1.0, 1.0, 1.0);
- obj3->min = dmnsn_vector_construct(-1.0, -1.0, -1.0);
- obj3->max = dmnsn_vector_construct(0.0, 0.0, 0.0);
+ obj3->min = dmnsn_new_vector(-1.0, -1.0, -1.0);
+ obj3->max = dmnsn_new_vector(0.0, 0.0, 0.0);
tree = dmnsn_new_kD_splay_tree();