diff --git a/Segment_Delaunay_graph_2/test/Segment_Delaunay_graph_2/test_sdg_traits_2.cpp b/Segment_Delaunay_graph_2/test/Segment_Delaunay_graph_2/test_sdg_traits_2.cpp index f14a08eeee3..a792ffe1a74 100644 --- a/Segment_Delaunay_graph_2/test/Segment_Delaunay_graph_2/test_sdg_traits_2.cpp +++ b/Segment_Delaunay_graph_2/test/Segment_Delaunay_graph_2/test_sdg_traits_2.cpp @@ -13,9 +13,9 @@ #include #endif -#if defined(CGAL_USE_GMP) || defined(CGAL_USE_LEDA) #include -#endif +#include + typedef CGAL::Simple_cartesian Double_Kernel; typedef CGAL::Simple_cartesian > IT_Kernel; @@ -26,10 +26,8 @@ typedef CGAL::Simple_cartesian Double_Kernel; typedef CGAL::Simple_cartesian Algebraic_Kernel; #endif -#if defined(CGAL_USE_GMP) || defined(CGAL_USE_LEDA) -typedef CGAL::Simple_cartesian Gmpq_Kernel; -typedef CGAL::Simple_cartesian Gmpz_Kernel; -#endif +typedef CGAL::Simple_cartesian Rational_Kernel; +typedef CGAL::Simple_cartesian Integer_Kernel; typedef CGAL::Integral_domain_without_division_tag Ring; typedef CGAL::Field_tag Field; @@ -108,20 +106,18 @@ Algebraic_Sqrt_Gt; //---------------------------------------------------------------------- -#if defined(CGAL_USE_GMP) || defined(CGAL_USE_LEDA) typedef CGAL::Segment_Delaunay_graph_traits_without_intersections_2 - -Gmpz_Ring_Gtwi; + +Integer_Ring_Gtwi; //---------------------------------------------------------------------- typedef CGAL::Segment_Delaunay_graph_traits_without_intersections_2 - -Gmpq_Ring_Gtwi; + +Rational_Ring_Gtwi; -typedef CGAL::Segment_Delaunay_graph_traits_2 -Gmpq_Field_Gt; -#endif +typedef CGAL::Segment_Delaunay_graph_traits_2 +Rational_Field_Gt; //---------------------------------------------------------------------- //---------------------------------------------------------------------- @@ -146,21 +142,19 @@ F_Algebraic_Sqrt_Gt; //---------------------------------------------------------------------- -#if defined(CGAL_USE_GMP) || defined(CGAL_USE_LEDA) typedef CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2 - -F_Gmpz_Ring_Gtwi; + +F_Integer_Ring_Gtwi; //---------------------------------------------------------------------- typedef CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2 - -F_Gmpq_Ring_Gtwi; + +F_Rational_Ring_Gtwi; typedef CGAL::Segment_Delaunay_graph_filtered_traits_2 - -F_Gmpq_Field_Gt; -#endif + +F_Rational_Field_Gt; //---------------------------------------------------------------------- //---------------------------------------------------------------------- @@ -271,12 +265,10 @@ int main(int , char**) test_traits("Algebraic Sqrt"); #endif -#if defined(CGAL_USE_GMP) || defined(CGAL_USE_LEDA) - test_traits("Gmpz Ring WI"); + test_traits("Integer Ring WI"); - test_traits("Gmpq Ring WI"); - test_traits("Gmpq Field"); -#endif + test_traits("Rational Ring WI"); + test_traits("Rational Field"); std::cout << std::endl; std::cout << "************************************" @@ -291,12 +283,10 @@ int main(int , char**) test_traits("F Algebraic Sqrt"); #endif -#if defined(CGAL_USE_GMP) || defined(CGAL_USE_LEDA) - test_traits("F Gmpz Ring WI"); + test_traits("F Integer Ring WI"); - test_traits("F Gmpq Ring WI"); - test_traits("F Gmpq Field"); -#endif + test_traits("F Rational Ring WI"); + test_traits("F Rational Field"); std::cout << std::endl; std::cout << "************************************"