mirror of https://github.com/CGAL/cgal
Merge pull request #6233 from sloriot/CH3-fix_test
Convex hull can also be a triangle
This commit is contained in:
commit
052d1bd64b
|
|
@ -122,7 +122,8 @@ void test_coplanar_arbitrary()
|
||||||
CGAL::convex_hull_3(points.begin(), points.end(), ch_object, Traits());
|
CGAL::convex_hull_3(points.begin(), points.end(), ch_object, Traits());
|
||||||
Polyhedron_3 P;
|
Polyhedron_3 P;
|
||||||
Segment_3 seg;
|
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()
|
void test_collinear()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue