mirror of https://github.com/CGAL/cgal
Root_of_2 can only be instantiated with RT for now
This commit is contained in:
parent
21f164e1c0
commit
08bff4af77
|
|
@ -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> > >();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue