diff --git a/src/Unittests/unittests_mixed_decimater.hh b/src/Unittests/unittests_mixed_decimater.hh index cc81ca15..3b139519 100644 --- a/src/Unittests/unittests_mixed_decimater.hh +++ b/src/Unittests/unittests_mixed_decimater.hh @@ -53,7 +53,7 @@ TEST_F(OpenMeshMixedDecimater, DecimateMesh80PercentMc) { removedVertices = decimaterDBG.decimate_to(5000,0.8f); decimaterDBG.mesh().garbage_collection(); - EXPECT_EQ(2526, removedVertices) << "The number of remove vertices is not correct!"; + EXPECT_EQ(2526u, removedVertices) << "The number of remove vertices is not correct!"; EXPECT_EQ(5000u, mesh_.n_vertices()) << "The number of vertices after decimation is not correct!"; EXPECT_EQ(14994u, mesh_.n_edges()) << "The number of edges after decimation is not correct!"; EXPECT_EQ(9996u, mesh_.n_faces()) << "The number of faces after decimation is not correct!"; @@ -77,7 +77,7 @@ TEST_F(OpenMeshMixedDecimater, DecimateMeshToFaceVerticesLimit) { removedVertices = decimaterDBG.decimate_to_faces(5000, 8000, 0.7f); decimaterDBG.mesh().garbage_collection(); - EXPECT_EQ(2526, removedVertices) << "The number of remove vertices is not correct!"; + EXPECT_EQ(2526u, removedVertices) << "The number of remove vertices is not correct!"; EXPECT_EQ(5000u, mesh_.n_vertices()) << "The number of vertices after decimation is not correct!"; EXPECT_EQ(14994u, mesh_.n_edges()) << "The number of edges after decimation is not correct!"; EXPECT_EQ(9996u, mesh_.n_faces()) << "The number of faces after decimation is not correct!"; @@ -101,7 +101,7 @@ TEST_F(OpenMeshMixedDecimater, DecimateMeshToFaceFaceLimit) { removedVertices = decimaterDBG.decimate_to_faces(4500, 9996, 0.7f); decimaterDBG.mesh().garbage_collection(); - EXPECT_EQ(2526, removedVertices) << "The number of remove vertices is not correct!"; + EXPECT_EQ(2526u, removedVertices) << "The number of remove vertices is not correct!"; EXPECT_EQ(5000u, mesh_.n_vertices()) << "The number of vertices after decimation is not correct!"; EXPECT_EQ(14994u, mesh_.n_edges()) << "The number of edges after decimation is not correct!"; EXPECT_EQ(9996u, mesh_.n_faces()) << "The number of faces after decimation is not correct!";