diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-10-06 16:01:19 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-10-06 16:01:19 +0000 |
commit | 739383d6fe6431821ea54687aedb329ba6abe036 (patch) | |
tree | da25d1ccfc4dd905649d1dae365e1e7c4fdac494 /tests | |
parent | 0292d46621e374fd350b789b66ef0d2fd433c2a7 (diff) | |
download | dimension-739383d6fe6431821ea54687aedb329ba6abe036.tar.xz |
Remove debug routine from kD splay tree test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libdimension/kD_splay_tree.c | 21 |
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() { |