diff --git a/libs/MeshKernel/tests/src/ContactsTests.cpp b/libs/MeshKernel/tests/src/ContactsTests.cpp index c8ed2b141..eb3d9f545 100644 --- a/libs/MeshKernel/tests/src/ContactsTests.cpp +++ b/libs/MeshKernel/tests/src/ContactsTests.cpp @@ -343,7 +343,8 @@ TEST(Contacts, ComputeBoundaryContacts) ASSERT_THAT(contacts.Mesh2dIndices(), ::testing::ElementsAre(0, 1, 2, 3, 5, 6, 7, 8)); } -TEST(Contacts, SetIndices) { +TEST(Contacts, SetIndices) +{ Contacts contacts; std::vector mesh1dIndices; std::vector mesh2dIndices; diff --git a/libs/MeshKernelApi/tests/src/ApiTest.cpp b/libs/MeshKernelApi/tests/src/ApiTest.cpp index aac8b6eda..51b3e6b51 100644 --- a/libs/MeshKernelApi/tests/src/ApiTest.cpp +++ b/libs/MeshKernelApi/tests/src/ApiTest.cpp @@ -2717,7 +2717,6 @@ TEST(Mesh2D, Mesh2DSetAndAdd) meshkernelapi::Mesh2D mesh2d{}; mkernel_mesh2d_get_dimensions(mk_id, mesh2d); - // allocate memory for the arrays of mesh2d std::vector edge_faces(mesh2d.num_edges * 2); std::vector edge_nodes(mesh2d.num_edges * 2);