More general test with Cartesian instead of Cartesian_2

This commit is contained in:
Hervé Brönnimann 1999-08-31 21:49:30 +00:00
parent a825faf27a
commit 1b8d3d3e51
2 changed files with 4 additions and 2 deletions

View File

@ -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
#---------------------------------------------------------------------#

View File

@ -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;