mirror of https://github.com/CGAL/cgal
more verbose test
This commit is contained in:
parent
e37e88c8f3
commit
7611a19803
|
|
@ -46,6 +46,7 @@ void test_root_of_traits_for_set(Integer, Rational, FWS){
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
|
std::cout << "Testing with double" << std::endl;
|
||||||
CGAL::Test::test_root_of_traits< double , double , double >();
|
CGAL::Test::test_root_of_traits< double , double , double >();
|
||||||
|
|
||||||
try{// just compile and try to get as far as you can go.
|
try{// just compile and try to get as far as you can go.
|
||||||
|
|
@ -56,6 +57,7 @@ int main(){
|
||||||
#ifdef CGAL_HAS_GMP_ARITHMETIC_KERNEL
|
#ifdef CGAL_HAS_GMP_ARITHMETIC_KERNEL
|
||||||
//TODO: switch to Gmpq
|
//TODO: switch to Gmpq
|
||||||
{
|
{
|
||||||
|
std::cout << "Testing with GMP" << std::endl;
|
||||||
typedef CGAL::GMP_arithmetic_kernel AK;
|
typedef CGAL::GMP_arithmetic_kernel AK;
|
||||||
typedef AK::Integer Integer;
|
typedef AK::Integer Integer;
|
||||||
typedef AK::Rational Rational;
|
typedef AK::Rational Rational;
|
||||||
|
|
@ -65,6 +67,7 @@ int main(){
|
||||||
#endif
|
#endif
|
||||||
#ifdef CGAL_HAS_LEDA_ARITHMETIC_KERNEL
|
#ifdef CGAL_HAS_LEDA_ARITHMETIC_KERNEL
|
||||||
{
|
{
|
||||||
|
std::cout << "Testing with LEDA" << std::endl;
|
||||||
typedef CGAL::LEDA_arithmetic_kernel AK;
|
typedef CGAL::LEDA_arithmetic_kernel AK;
|
||||||
typedef AK::Integer Integer;
|
typedef AK::Integer Integer;
|
||||||
typedef AK::Rational Rational;
|
typedef AK::Rational Rational;
|
||||||
|
|
@ -74,6 +77,7 @@ int main(){
|
||||||
#endif
|
#endif
|
||||||
#ifdef CGAL_HAS_CORE_ARITHMETIC_KERNEL
|
#ifdef CGAL_HAS_CORE_ARITHMETIC_KERNEL
|
||||||
{
|
{
|
||||||
|
std::cout << "Testing with CORE" << std::endl;
|
||||||
typedef CGAL::CORE_arithmetic_kernel AK;
|
typedef CGAL::CORE_arithmetic_kernel AK;
|
||||||
typedef AK::Integer Integer;
|
typedef AK::Integer Integer;
|
||||||
typedef AK::Rational Rational;
|
typedef AK::Rational Rational;
|
||||||
|
|
@ -82,6 +86,7 @@ int main(){
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
std::cout << "Testing with MP_Float" << std::endl;
|
||||||
typedef CGAL::MP_Float_arithmetic_kernel AK;
|
typedef CGAL::MP_Float_arithmetic_kernel AK;
|
||||||
typedef AK::Integer Integer;
|
typedef AK::Integer Integer;
|
||||||
typedef AK::Rational Rational;
|
typedef AK::Rational Rational;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue