Root_of_2 can only be instantiated with RT for now

This commit is contained in:
Andreas Fabri 2006-04-19 13:48:46 +00:00
parent 21f164e1c0
commit 08bff4af77
1 changed files with 9 additions and 4 deletions

View File

@ -452,11 +452,12 @@ int main(int argc, char **argv) {
std::cout << "Testing Root_of_2<MP_Float>" << std::endl;
result = result && test_root_of<Root_of_2<CGAL::MP_Float> >();
/*
// Root_of_2 can only be instantiated with RT for now
std::cout << "Testing Root_of_2<Quotient<MP_Float> >" << std::endl;
result = result &&
test_root_of<Root_of_2<CGAL::Quotient<CGAL::MP_Float> > >();
*/
std::cout << "Testing Lazy_exact_nt<MP_Float>'s RootOf_2 " << std::endl;
result = result &&
test_root_of<CGAL::Root_of_traits<CGAL::Lazy_exact_nt<CGAL::MP_Float> >::RootOf_2 >();
@ -464,15 +465,19 @@ int main(int argc, char **argv) {
#ifdef CGAL_USE_GMP
std::cout << "Testing Root_of_2<Gmpz>" << std::endl;
result = result && test_root_of<Root_of_2<CGAL::Gmpz> >();
/*
// Root_of_2 can only be instantiated with RT for now
std::cout << "Testing Root_of_2<Gmpq>" << std::endl;
result = result && test_root_of<Root_of_2<CGAL::Gmpq> >();
*/
#endif
#ifdef CGAL_USE_GMPXX
/*
// Root_of_2 can only be instantiated with RT for now
std::cout << "Testing Root_of_2<mpq_class>" << std::endl;
result = result && test_root_of<Root_of_2<mpq_class> >();
*/
//std::cout << "Testing Root_of_2<Quotient<mpz_class> >" << std::endl;
//result = result && test_root_of<Root_of_2<CGAL::Quotient<mpz_class> > >();