Skip to content

Commit

Permalink
Add mock test for reset_mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis committed Nov 22, 2024
1 parent 64a49af commit 841c57f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_bindings_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ def test_requires_mesh_connectivity_for(self):
fake_mesh_name = "FakeMesh"
self.assertEqual(fake_bool, participant.requires_mesh_connectivity_for(fake_mesh_name))

def test_reset_mesh(self):
participant = precice.Participant("test", "dummy.xml", 0, 1)
fake_mesh_name = "FakeMesh"
participant.reset_mesh(fake_mesh_name)

def test_set_mesh_vertices(self):
participant = precice.Participant("test", "dummy.xml", 0, 1)
fake_mesh_name = "FakeMesh" # compare to test/SolverInterface.cpp, fake_mesh_name
Expand Down

0 comments on commit 841c57f

Please sign in to comment.