fixup tests
This commit is contained in:
parent
3f8b9bef06
commit
a54232b493
1 changed files with 3 additions and 9 deletions
12
tpy_r3d.py
12
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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue