And the rest. OM is now clean again.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@911 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-08-07 12:44:52 +00:00
parent 959d80bb07
commit 89be8b4518
16 changed files with 165 additions and 165 deletions

View File

@@ -65,12 +65,12 @@ TEST_F(OpenMeshReadWriteOFF, WriteAndReadVertexColorsToAndFromOFFFile) {
// setting colors (different from black)
for (Mesh::VertexIter vit = mesh_.vertices_begin(), vitend = mesh_.vertices_end(); vit != vitend; ++vit)
mesh_.set_color(vit, testColor);
mesh_.set_color(*vit, testColor);
// check if the colors are correctly setted
int count = 0;
for (Mesh::VertexIter vit = mesh_.vertices_begin(), vitend = mesh_.vertices_end(); vit != vitend; ++vit) {
Mesh::Color color = mesh_.color(vit);
Mesh::Color color = mesh_.color(*vit);
if ( color[0] != testColor[0] || color[1] != testColor[1] || color[2] != testColor[2] )
++ count;
}
@@ -85,7 +85,7 @@ TEST_F(OpenMeshReadWriteOFF, WriteAndReadVertexColorsToAndFromOFFFile) {
// check if vertices still have the same color
count = 0;
for (Mesh::VertexIter vit = mesh_.vertices_begin(), vitend = mesh_.vertices_end(); vit != vitend; ++vit) {
Mesh::Color color = mesh_.color(vit);
Mesh::Color color = mesh_.color(*vit);
if ( color[0] != testColor[0] || color[1] != testColor[1] || color[2] != testColor[2] )
++ count;
}