// TODO: Add licence // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // // $URL:$ // $Id: $ // // // Author(s) : // // ============================================================================ // TODO: The comments are all original EXACUS comments and aren't adapted. So // they may be wrong now. /*! \file NiX/Descartes.C This is the test file for the class NiX::Descartes. */ #include // include these traits here by 'hand', since not in release 3.3 #include #include #include #include #include #include template void test_descartes(){ typedef typename AT::Integer Integer; typedef typename AT::Rational Rational; { typedef typename CGAL::Polynomial_type_generator::Type Polynomial; typedef ::CGAL::CGALi::Descartes Isolator; // general test of concept RealRootIsolator CGAL::CGALi::test_real_root_isolator(); }{ typedef typename CGAL::Polynomial_type_generator::Type Polynomial; typedef ::CGAL::CGALi::Descartes Isolator; // general test of concept RealRootIsolator CGAL::CGALi::test_real_root_isolator(); } } int main(){ #ifdef CGAL_USE_LEDA test_descartes(); #endif #ifdef CGAL_USE_CORE test_descartes(); #endif return EXIT_SUCCESS; } // EOF