Commit 6a2d1873 authored by Max Lyon's avatar Max Lyon

fix bugs in unittest

parent f9b39f21
...@@ -735,7 +735,7 @@ TEST_F(OpenMeshReadWriteOM, WriteSplitTriangleStatusProperties) { ...@@ -735,7 +735,7 @@ TEST_F(OpenMeshReadWriteOM, WriteSplitTriangleStatusProperties) {
cmpMesh.request_halfedge_status(); cmpMesh.request_halfedge_status();
cmpMesh.request_face_status(); cmpMesh.request_face_status();
ok = OpenMesh::IO::read_mesh(cmpMesh,filename); ok = OpenMesh::IO::read_mesh(cmpMesh,filename, options);
EXPECT_TRUE(ok) << "Unable to read "<<filename; EXPECT_TRUE(ok) << "Unable to read "<<filename;
// compare // compare
...@@ -1059,7 +1059,7 @@ TEST_F(OpenMeshReadWriteOM, WriteReadStatusPropertyHalfedgeOnly) { ...@@ -1059,7 +1059,7 @@ TEST_F(OpenMeshReadWriteOM, WriteReadStatusPropertyHalfedgeOnly) {
auto vh2 = mesh.add_vertex(Mesh::Point(0,1,0)); auto vh2 = mesh.add_vertex(Mesh::Point(0,1,0));
mesh.add_face(vh0, vh1, vh2); mesh.add_face(vh0, vh1, vh2);
mesh.request_edge_status(); mesh.request_halfedge_status();
auto heh0 = OpenMesh::HalfedgeHandle(0); auto heh0 = OpenMesh::HalfedgeHandle(0);
auto heh1 = OpenMesh::HalfedgeHandle(1); auto heh1 = OpenMesh::HalfedgeHandle(1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment