fixup tests

This commit is contained in:
jan 2018-03-28 15:30:42 -07:00
commit a54232b493

View file

@ -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()