Merge pull request #5155 from mhsaar/patch-9

Update test_sls_offset.cpp
This commit is contained in:
Laurent Rineau 2020-11-25 10:21:54 +01:00
commit 5bfd0c2340
1 changed files with 3 additions and 1 deletions

View File

@ -909,8 +909,10 @@ void test_offset(const char* filename)
// for(const auto& offp : offset_poly_with_holes) // for(const auto& offp : offset_poly_with_holes)
// print_polygon_with_holes(*offp); // print_polygon_with_holes(*offp);
CGAL::set_use_polygon_assertions(false); CGAL::set_use_polygon_assertions(false);
for(const auto& offp : offset_poly_with_holes) for(const auto& offp : offset_poly_with_holes){
(void)offp;
assert(offp->outer_boundary().is_counterclockwise_oriented()); assert(offp->outer_boundary().is_counterclockwise_oriented());
}
CGAL::set_use_polygon_assertions(true); CGAL::set_use_polygon_assertions(true);
#ifdef CGAL_SLS_TEST_SPEED_THINGS_UP_FOR_THE_TESTSUITE #ifdef CGAL_SLS_TEST_SPEED_THINGS_UP_FOR_THE_TESTSUITE
if(i > 2) if(i > 2)