diff --git a/tests/meshIO/meshIOTest.cpp b/tests/meshIO/meshIOTest.cpp index 1565218..213fc3c 100644 --- a/tests/meshIO/meshIOTest.cpp +++ b/tests/meshIO/meshIOTest.cpp @@ -35,4 +35,11 @@ TEST_F(meshIOTest, GetMesh) { EXPECT_EQ(mesh.GetNV(), 3768); double volume = ComputeMeshVolume(mesh); EXPECT_DOUBLE_EQ(volume, 4.160516453529322); +} + +TEST_F(meshIOTest, LinearRescale) { + MeshIO meshIO(EXAMPLE_FILENAME, 5); + mfem::Mesh& mesh = meshIO.GetMesh(); + double volume = ComputeMeshVolume(mesh); + EXPECT_DOUBLE_EQ(volume, 520.06455669116463); } \ No newline at end of file