From a54232b493b70fb843f22a96c82e8cf7d22c12b5 Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 28 Mar 2018 15:30:42 -0700 Subject: [PATCH] fixup tests --- tpy_r3d.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tpy_r3d.py b/tpy_r3d.py index 17acc69..79e53a7 100644 --- a/tpy_r3d.py +++ b/tpy_r3d.py @@ -345,7 +345,7 @@ def test_voxelization(): moments = get_moments(poly, POLY_ORDER) logger.info(f'Voxelizing a tetrahedron to a grid with dx = {dx} and moments of order {POLY_ORDER}') - grid = voxelize(poly, dx, poly_order=POLY_ORDER) + grid = voxelize(poly, dx, order=POLY_ORDER) # visualize_voxels(grid) @@ -545,14 +545,8 @@ if __name__ == '__main__': logger.info('test_split_nonconvex') test_split_nonconvex() - logger.info('split_nondegen') - test_recursive_splitting_nondegenerate() - - logger.info('split_degen') - test_recursive_splitting_degenerate() - - logger.info('split_degen_perturbed') - test_recursive_splitting_degenerate_perturbed() + logger.info('split_recursive') + test_recursive_split() logger.info('voxelization') test_voxelization()