diff --git a/src/Unittests/unittests_property.cc b/src/Unittests/unittests_property.cc index f6f78036..a3d2e0b4 100644 --- a/src/Unittests/unittests_property.cc +++ b/src/Unittests/unittests_property.cc @@ -299,7 +299,6 @@ TEST_F(OpenMeshProperties, VertexPropertyCopypropertiesInt) { EXPECT_EQ( 1, mesh_.point(*v_it)[0] ) << "Invalid x position for vertex 3"; EXPECT_EQ( 0, mesh_.point(*v_it)[1] ) << "Invalid y position for vertex 3"; EXPECT_EQ( 0, mesh_.point(*v_it)[2] ) << "Invalid z position for vertex 3"; - ++v_it; //=========================================================== // Copy from vertex 1 to 0, with skipping build in properties @@ -327,7 +326,6 @@ TEST_F(OpenMeshProperties, VertexPropertyCopypropertiesInt) { EXPECT_EQ( 1, mesh_.point(*v_it)[0] ) << "Invalid x position for vertex 3 after copy"; EXPECT_EQ( 0, mesh_.point(*v_it)[1] ) << "Invalid y position for vertex 3 after copy"; EXPECT_EQ( 0, mesh_.point(*v_it)[2] ) << "Invalid z position for vertex 3 after copy"; - ++v_it; v_it = mesh_.vertices_begin(); EXPECT_EQ( 1, mesh_.property(intHandle,*v_it) ) << "Invalid int value for vertex 0 after copy"; ++v_it; @@ -361,7 +359,6 @@ TEST_F(OpenMeshProperties, VertexPropertyCopypropertiesInt) { EXPECT_EQ( 1, mesh_.point(*v_it)[0] ) << "Invalid x position for vertex 3 after copy"; EXPECT_EQ( 1, mesh_.point(*v_it)[1] ) << "Invalid y position for vertex 3 after copy"; EXPECT_EQ( 0, mesh_.point(*v_it)[2] ) << "Invalid z position for vertex 3 after copy"; - ++v_it; v_it = mesh_.vertices_begin(); EXPECT_EQ( 1, mesh_.property(intHandle,*v_it) ) << "Invalid int value for vertex 0 after copy"; ++v_it; @@ -520,7 +517,6 @@ TEST_F(OpenMeshProperties, CopyAllPropertiesVertexAfterRemoveOfProperty) { EXPECT_EQ( 1, mesh_.point(*v_it)[0] ) << "Invalid x position for vertex 3"; EXPECT_EQ( 0, mesh_.point(*v_it)[1] ) << "Invalid y position for vertex 3"; EXPECT_EQ( 0, mesh_.point(*v_it)[2] ) << "Invalid z position for vertex 3"; - ++v_it; //=========================================================== // Copy from vertex 1 to 0, with skipping build in properties @@ -548,7 +544,6 @@ TEST_F(OpenMeshProperties, CopyAllPropertiesVertexAfterRemoveOfProperty) { EXPECT_EQ( 1, mesh_.point(*v_it)[0] ) << "Invalid x position for vertex 3 after copy"; EXPECT_EQ( 0, mesh_.point(*v_it)[1] ) << "Invalid y position for vertex 3 after copy"; EXPECT_EQ( 0, mesh_.point(*v_it)[2] ) << "Invalid z position for vertex 3 after copy"; - ++v_it; v_it = mesh_.vertices_begin(); EXPECT_EQ( 1, mesh_.property(intHandle,*v_it) ) << "Invalid int value for vertex 0 after copy"; ++v_it; @@ -582,7 +577,6 @@ TEST_F(OpenMeshProperties, CopyAllPropertiesVertexAfterRemoveOfProperty) { EXPECT_EQ( 1, mesh_.point(*v_it)[0] ) << "Invalid x position for vertex 3 after copy"; EXPECT_EQ( 1, mesh_.point(*v_it)[1] ) << "Invalid y position for vertex 3 after copy"; EXPECT_EQ( 0, mesh_.point(*v_it)[2] ) << "Invalid z position for vertex 3 after copy"; - ++v_it; v_it = mesh_.vertices_begin(); EXPECT_EQ( 1, mesh_.property(intHandle,*v_it) ) << "Invalid int value for vertex 0 after copy"; ++v_it; diff --git a/src/Unittests/unittests_trimesh_iterators.cc b/src/Unittests/unittests_trimesh_iterators.cc index 66846645..9fc06795 100644 --- a/src/Unittests/unittests_trimesh_iterators.cc +++ b/src/Unittests/unittests_trimesh_iterators.cc @@ -350,10 +350,6 @@ TEST_F(OpenMeshIterators, HalfedgeIterSkipping) { EXPECT_EQ(8u, mesh_.n_vertices() ) << "Wrong number of vertices"; EXPECT_EQ(12u, mesh_.n_faces() ) << "Wrong number of faces"; - - // Run over all halfedges - unsigned int heCounter = 0; - mesh_.request_face_status(); mesh_.request_vertex_status(); mesh_.request_halfedge_status(); @@ -550,10 +546,6 @@ TEST_F(OpenMeshIterators, HalfedgeIterSkippingLowLevel) { EXPECT_EQ(8u, mesh_.n_vertices() ) << "Wrong number of vertices"; EXPECT_EQ(12u, mesh_.n_faces() ) << "Wrong number of faces"; - - // Run over all halfedges - unsigned int heCounter = 0; - mesh_.request_face_status(); mesh_.request_vertex_status(); mesh_.request_halfedge_status();