Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed May 30, 2024
1 parent ce56c51 commit a3d5818
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def test_remove_G__plus__():
before_particles = len(fm.particles)
before_vertices = len(fm.vertices)
fm.remove_object(fm.get_particle(name="G+"))
assert len(fm.particles) == before_particles - 1
# we also remove G__minus__ here, so we expect 2 particles to be removed
assert len(fm.particles) == before_particles - 2
assert len(fm.vertices) < before_vertices

assert fm.get_particle(name="G+") is None
Expand Down

0 comments on commit a3d5818

Please sign in to comment.