From e4e7fb70d58e5dd5ae9f43b7d13dddc210a8bd04 Mon Sep 17 00:00:00 2001 From: Michael Hemmer Date: Mon, 15 Feb 2010 16:40:14 +0000 Subject: [PATCH] use CGAL_HAS_XXX_KERNEL macros --- Number_types/test/Number_types/Coercion_traits.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Number_types/test/Number_types/Coercion_traits.cpp b/Number_types/test/Number_types/Coercion_traits.cpp index 3a24808ae3a..8c30608ced8 100644 --- a/Number_types/test/Number_types/Coercion_traits.cpp +++ b/Number_types/test/Number_types/Coercion_traits.cpp @@ -59,7 +59,7 @@ void check_type_coercion_at(){ test_coercion_from_to(float(),Rational()); test_coercion_from_to(double(),Rational()); test_coercion_from_to(Integer(),Rational()); - test_coercion_from_to(Bigfloat(),Rational()); + //test_coercion_from_to(Bigfloat(),Rational()); // not the same for CORE/LEDA/GMP test_coercion_from_to(Rational(),Rational()); test_coercion_from_to(int(),Field_with_sqrt()); @@ -437,17 +437,17 @@ int main(){ AT_coercion_test_for_cgal_types_fws(); #endif // CGAL_HAS_DEFAULT_ARITHMETIC_KERNEL -#ifdef CGAL_USE_LEDA +#ifdef CGAL_HAS_LEDA_ARITHMETIC_KERNEL check_type_coercion_at(); AT_coercion_test_for_cgal_types_fws(); #endif // CGAL_USE_LEDA -#ifdef CGAL_USE_CORE +#ifdef CGAL_HAS_CORE_ARITHMETIC_KERNEL check_type_coercion_at(); AT_coercion_test_for_cgal_types_fws(); #endif // CGAL_USE_CORE -#ifdef CGAL_USE_GMP +#ifdef CGAL_HAS_GMP_ARITHMETIC_KERNEL check_type_coercion_at(); AT_coercion_test_for_cgal_types_rat(); #endif // CGAL_USE_GMP