Fixed warning due to unisgned int int comparison

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@626 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-07-23 07:53:52 +00:00
parent 2a1375175d
commit f6af84f5f8
5 changed files with 52 additions and 52 deletions

View File

@@ -89,8 +89,8 @@ TEST_F(OpenMeshAddFaceTriangleMesh, AddTrianglesToTrimesh) {
// 0 === 3
// Check setup
EXPECT_EQ(4, mesh_.n_vertices() ) << "Wrong number of vertices";
EXPECT_EQ(2, mesh_.n_faces() ) << "Wrong number of faces";
EXPECT_EQ(4u, mesh_.n_vertices() ) << "Wrong number of vertices";
EXPECT_EQ(2u, mesh_.n_faces() ) << "Wrong number of faces";
}
@@ -126,8 +126,8 @@ TEST_F(OpenMeshAddFaceTriangleMesh, AddQuadToTrimesh) {
// 0 === 3
// Check setup
EXPECT_EQ(4, mesh_.n_vertices() ) << "Wrong number of vertices";
EXPECT_EQ(2, mesh_.n_faces() ) << "Wrong number of faces";
EXPECT_EQ(4u, mesh_.n_vertices() ) << "Wrong number of vertices";
EXPECT_EQ(2u, mesh_.n_faces() ) << "Wrong number of faces";
}
@@ -163,8 +163,8 @@ TEST_F(OpenMeshAddFacePolyMesh, AddQuadToPolymesh) {
// 0 === 3
// Check setup
EXPECT_EQ(4, mesh_.n_vertices() ) << "Wrong number of vertices";
EXPECT_EQ(1, mesh_.n_faces() ) << "Wrong number of faces";
EXPECT_EQ(4u, mesh_.n_vertices() ) << "Wrong number of vertices";
EXPECT_EQ(1u, mesh_.n_faces() ) << "Wrong number of faces";
}