mirror of https://github.com/CGAL/cgal
More general test with Cartesian instead of Cartesian_2
This commit is contained in:
parent
a825faf27a
commit
1b8d3d3e51
|
|
@ -22,6 +22,8 @@ CXXFLAGS = \
|
|||
$(CGAL_CXXFLAGS) \
|
||||
$(EXTRA_FLAGS) -Wall -W
|
||||
|
||||
# REMOVE THE LINE WITH -DCGAL_CFG_NO_ADVANCED_KERNEL TO TRY MICHAEL'S DESIGN
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# linker flags
|
||||
#---------------------------------------------------------------------#
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#endif // CGAL_BASIC_H
|
||||
#include <cassert>
|
||||
#ifndef CGAL_CARTESIAN_H
|
||||
#include <CGAL/Cartesian_2.h>
|
||||
#include <CGAL/Cartesian.h>
|
||||
#endif // CGAL_CARTESIAN_H
|
||||
#include <CGAL/_test_2.C>
|
||||
#include <CGAL/leda_real.h>
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
int
|
||||
main()
|
||||
{
|
||||
typedef CGAL::Cartesian_2<leda_real> Cls;
|
||||
typedef CGAL::Cartesian<leda_real> Cls;
|
||||
std::cout << "Testing 2d with Cartesian<double> :" << std::endl;
|
||||
_test_2( Cls() );
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue