Skip to content

Commit

Permalink
Add delete_cell test
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalocasas committed Nov 1, 2024
1 parent 849e7f7 commit 89d5631
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/compas/datastructures/test_volmesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,3 +244,9 @@ def test_cells_where_predicate():
# ==============================================================================
# Methods
# ==============================================================================

def test_delete_cell():
hf = VolMesh.from_meshgrid(10, 10, 10, 5, 5, 5)
assert hf.number_of_cells() == 125
hf.delete_cell(1)
assert hf.number_of_cells() == 124

0 comments on commit 89d5631

Please sign in to comment.