diff --git a/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_constructions.h b/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_constructions.h index 66f01f91132..979bca817f3 100644 --- a/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_constructions.h +++ b/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_constructions.h @@ -2616,6 +2616,16 @@ void _test_extremal_points_construct(SK sk) { } +template +void _test_calls(SK sk) { + CGAL::Line_arc_3 la = + SK().construct_line_arc_3_object()(CGAL::Point_3(1,1,1), CGAL::Point_3(1,2,1)); + CGAL::Circular_arc_point_3 cap = SK().construct_circular_max_vertex_3_object()(la); + cap = SK().construct_circular_min_vertex_3_object()(la); + cap = SK().construct_circular_source_vertex_3_object()(la); + cap = SK().construct_circular_target_vertex_3_object()(la); +} + template void _test_spherical_kernel_construct(SK sk) { @@ -2631,5 +2641,6 @@ void _test_spherical_kernel_construct(SK sk) _test_split_construct(sk); _test_bounding_box_construct(sk); _test_extremal_points_construct(sk); + _test_calls(sk); std::cout << "All tests on construction are OK." << std::endl; } diff --git a/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_predicates.h b/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_predicates.h index 3a5fabcdcb1..90dfa312508 100644 --- a/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_predicates.h +++ b/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_predicates.h @@ -649,8 +649,10 @@ void _test_bounded_side(SK sk) { CGAL::Bounded_side b = theBounded_side_3(s,cp); if((x*x + y*y + z*z) < 25) { assert(b == CGAL::ON_BOUNDED_SIDE); + assert(SK().has_on_bounded_side_3_object()(s,cp)); } else if((x*x + y*y + z*z) > 25) { assert(b == CGAL::ON_UNBOUNDED_SIDE); + assert(SK().has_on_unbounded_side_3_object()(s,cp)); } else assert(b == CGAL::ON_BOUNDARY); } }