mirror of https://github.com/CGAL/cgal
Test for leda::rational, CORE::BigRat and Sqrt_extension added.
This commit is contained in:
parent
7af493c772
commit
06a7bf4892
|
|
@ -7,6 +7,7 @@
|
||||||
#include <CGAL/basic.h>
|
#include <CGAL/basic.h>
|
||||||
#include <CGAL/Testsuite/assert.h>
|
#include <CGAL/Testsuite/assert.h>
|
||||||
#include <CGAL/Modular_traits.h>
|
#include <CGAL/Modular_traits.h>
|
||||||
|
#include <CGAL/Sqrt_extension.h>
|
||||||
|
|
||||||
#ifdef CGAL_USE_LEDA
|
#ifdef CGAL_USE_LEDA
|
||||||
#include <CGAL/leda_integer.h>
|
#include <CGAL/leda_integer.h>
|
||||||
|
|
@ -51,9 +52,13 @@ int main()
|
||||||
test_modular_traits<int>();
|
test_modular_traits<int>();
|
||||||
#ifdef CGAL_USE_LEDA
|
#ifdef CGAL_USE_LEDA
|
||||||
test_modular_traits<leda::integer>();
|
test_modular_traits<leda::integer>();
|
||||||
|
test_modular_traits<leda::rational>();
|
||||||
|
test_modular_traits<CGAL::Sqrt_extension< leda::integer, leda::integer > >();
|
||||||
#endif
|
#endif
|
||||||
#ifdef CGAL_USE_CORE
|
#ifdef CGAL_USE_CORE
|
||||||
test_modular_traits<CORE::BigInt>();
|
test_modular_traits<CORE::BigInt>();
|
||||||
|
test_modular_traits<CORE::BigRat>();
|
||||||
|
test_modular_traits<CGAL::Sqrt_extension< CORE::BigInt, CORE::BigInt > >();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue