summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/kD_splay_tree.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-10-06 16:01:19 +0000
committerTavian Barnes <tavianator@gmail.com>2009-10-06 16:01:19 +0000
commit739383d6fe6431821ea54687aedb329ba6abe036 (patch)
treeda25d1ccfc4dd905649d1dae365e1e7c4fdac494 /tests/libdimension/kD_splay_tree.c
parent0292d46621e374fd350b789b66ef0d2fd433c2a7 (diff)
downloaddimension-739383d6fe6431821ea54687aedb329ba6abe036.tar.xz
Remove debug routine from kD splay tree test.
Diffstat (limited to 'tests/libdimension/kD_splay_tree.c')
-rw-r--r--tests/libdimension/kD_splay_tree.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/libdimension/kD_splay_tree.c b/tests/libdimension/kD_splay_tree.c
index 6da4d10..4ab994a 100644
--- a/tests/libdimension/kD_splay_tree.c
+++ b/tests/libdimension/kD_splay_tree.c
@@ -24,27 +24,6 @@
#include "../../libdimension/dimension_impl.h"
#include <stdlib.h>
-void
-dmnsn_print_kD_splay_tree(dmnsn_kD_splay_node *root)
-{
- printf("((%g, %g, %g) - (%g, %g, %g)",
- root->min.x, root->min.y, root->min.z,
- root->max.x, root->max.y, root->max.z);
- if (root->left || root->right) {
- printf(": ");
- if (root->left)
- dmnsn_print_kD_splay_tree(root->left);
- else
- printf("?");
- printf(" - ");
- if (root->right)
- dmnsn_print_kD_splay_tree(root->right);
- else
- printf("?");
- }
- printf(")");
-}
-
int
main()
{