Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaanDesai committed Aug 1, 2023
1 parent 16f2234 commit cac5ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_bindings_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def test_set_mesh_access_region(self):
fake_bounding_box = np.arange(fake_dimension * 2)
participant.set_mesh_access_region(fake_mesh_name, fake_bounding_box)

def test_get_mesh_vertices_and_coordinates(self):
def test_get_mesh_vertex_ids_and_coordinates(self):
participant = precice.Participant("test", "dummy.xml", 0, 1)
fake_mesh_name = "FakeMesh" # compare to test/SolverInterface.cpp, fake_mesh_name
n_fake_vertices = 3 # compare to test/SolverInterface.cpp, n_fake_vertices
Expand All @@ -338,7 +338,7 @@ def test_get_mesh_vertices_and_coordinates(self):
coordinates[i, 0] = i * fake_dimension
coordinates[i, 1] = i * fake_dimension + 1
coordinates[i, 2] = i * fake_dimension + 2
fake_ids, fake_coordinates = participant.get_mesh_vertices_and_coordinates(fake_mesh_name)
fake_ids, fake_coordinates = participant.get_mesh_vertex_ids_and_coordinates(fake_mesh_name)
self.assertTrue(np.array_equal(fake_ids, vertex_ids))
self.assertTrue(np.array_equal(fake_coordinates, coordinates))

Expand Down

0 comments on commit cac5ba5

Please sign in to comment.