From 04b5cbbec61d745ceca88d1275102d9efa0df5ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 12 Jan 2022 11:53:40 +0100 Subject: [PATCH] convex hull can also be a triangle --- .../test/Convex_hull_3/quickhull_degenerate_test_3.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Convex_hull_3/test/Convex_hull_3/quickhull_degenerate_test_3.cpp b/Convex_hull_3/test/Convex_hull_3/quickhull_degenerate_test_3.cpp index c006f0586e5..fbd133b6f4c 100644 --- a/Convex_hull_3/test/Convex_hull_3/quickhull_degenerate_test_3.cpp +++ b/Convex_hull_3/test/Convex_hull_3/quickhull_degenerate_test_3.cpp @@ -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()