Fixed unsigned signed comparison

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1100 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2014-07-08 09:25:09 +00:00
parent b2f528eb0a
commit 71fd144089

View File

@@ -233,7 +233,7 @@ TEST_F(OpenMeshReadWriteOBJ, LoadObjWithTexture) {
//check texture mapping for the mesh
OpenMesh::MPropHandleT< std::map< int, std::string > > property;
mesh_.get_property_handle(property, "TextureMapping");
EXPECT_EQ(mesh_.property(property).size(), 1) << "More than one texture defined";
EXPECT_EQ(mesh_.property(property).size(), 1u) << "More than one texture defined";
std::map< int, std::string >::iterator tex = mesh_.property(property).find(1);
EXPECT_TRUE(tex != mesh_.property(property).end()) << "Could not find texture with id 1";
EXPECT_TRUE((mesh_.property(property)[1] == std::string("square_material_texture.jpg"))) << "Wrong texture name";