Merge pull request #4126 from maxGimeno/Fix_test_pmp_clip_for_macOS-maxGimeno

PMP: Fix test_pmp_clip
This commit is contained in:
Laurent Rineau 2019-08-01 17:08:09 +02:00
commit eb2e57a055
1 changed files with 4 additions and 4 deletions

View File

@ -293,7 +293,7 @@ void test()
assert(vertices(tm1).size()==3);
CGAL::clear(tm1);
ss = std::stringstream();
ss.str(std::string());
ss << "OFF\n 7 4 0\n 0 0 0\n2 0 0\n4 0 0\n4 1 0\n0 1 0\n3 1 0\n 1 1 0\n3 0 1 4\n3 1 2 3\n3 1 5 6\n3 1 3 5\n";
ss >> tm1;
CGAL::Euler::remove_face(halfedge(*CGAL::cpp11::prev(faces(tm1).end()),tm1),tm1);
@ -301,7 +301,7 @@ void test()
assert(vertices(tm1).size()==6);
CGAL::clear(tm1);
ss = std::stringstream();
ss.str(std::string());
ss << "OFF\n 9 7 0\n 0 0 0\n2 0 0\n4 0 0\n4 1 0\n0 1 0\n3 1 0\n 1 1 0\n3 -1 0\n1 -1 0\n3 0 1 4\n3 1 2 3\n3 1 5 6\n3 1 8 7\n3 1 3 5\n3 1 6 4\n3 1 0 8\n";
ss >> tm1;
for (int i=0;i<3;++i)
@ -310,7 +310,7 @@ void test()
assert(vertices(tm1).size()==7);
CGAL::clear(tm1);
ss = std::stringstream();
ss.str(std::string());
ss << "OFF\n 9 7 0\n 0 0 0\n2 0 0\n4 0 0\n4 1 0\n0 1 0\n3 1 0\n 1 1 0\n3 -1 0\n1 -1 0\n3 0 1 4\n3 1 2 3\n3 1 5 6\n3 1 8 7\n3 1 3 5\n3 1 6 4\n3 1 0 8\n";
ss >> tm1;
for (int i=0;i<3;++i)
@ -319,7 +319,7 @@ void test()
assert(vertices(tm1).size()==3);
CGAL::clear(tm1);
ss = std::stringstream();
ss.str(std::string());
ss << "OFF\n 9 7 0\n 0 0 0\n2 0 0\n4 0 0\n4 1 0\n0 1 0\n3 1 0\n 1 1 0\n3 -1 0\n1 -1 0\n3 0 1 4\n3 1 2 3\n3 1 5 6\n3 1 8 7\n3 1 3 5\n3 1 6 4\n3 1 0 8\n";
ss >> tm1;
for (int i=0;i<3;++i)