diff --git a/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_compute.h b/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_compute.h index e5b316567f7..a8615ea74b9 100644 --- a/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_compute.h +++ b/Circular_kernel_3/test/Circular_kernel_3/include/CGAL/_test_sphere_compute.h @@ -104,9 +104,9 @@ void _test_spherical_kernel_compute(SK sk) const double v2 = app_ang2 - ang2; const double diff1 = ((v1 > 0) ? (v1) : (-v1)); const double diff2 = ((v2 > 0) ? (v2) : (-v2)); - // we suppose at least a precision of 10e-8, but it is not necessarily true - CGAL_warning(diff1 < 10e-4); - CGAL_warning(diff2 < 10e-4); + // we suppose at least a precision of 10e-4, but it is not necessarily true + assert(diff1 < 10e-4); + assert(diff2 < 10e-4); const double sql1 = ang1 * ang1; const double sql2 = ang2 * ang2; @@ -118,9 +118,9 @@ void _test_spherical_kernel_compute(SK sk) const double diffv2 = ((vv2 > 0) ? (vv2) : (-vv2)); std::cout << sql1 << " " << app_sql1 << std::endl; std::cout << sql2 << " " << app_sql2 << std::endl; - // we suppose at least a precision of 10e-8, but it is not necessarily true - CGAL_warning(diffv1 < 10e-4); - CGAL_warning(diffv2 < 10e-4); + // we suppose at least a precision of 10e-4, but it is not necessarily true + assert(diffv1 < 10e-4); + assert(diffv2 < 10e-4); } }