Merge pull request #6233 from sloriot/CH3-fix_test

Convex hull can also be a triangle
This commit is contained in:
Laurent Rineau 2022-01-17 15:34:41 +01:00
commit 8a5fd82f81
1 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,8 @@ void test_coplanar_arbitrary()
CGAL::convex_hull_3(points.begin(), points.end(), ch_object, Traits());
Polyhedron_3 P;
Segment_3 seg;
assert( CGAL::assign(P, ch_object) || CGAL::assign(seg, ch_object));
Triangle_3 tri;
assert( CGAL::assign(P, ch_object) || CGAL::assign(seg, ch_object) || CGAL::assign(tri, ch_object) );
}
void test_collinear()