mirror of https://github.com/CGAL/cgal
Remove unused files.
This commit is contained in:
parent
488c6f4ce8
commit
c9786a98af
|
|
@ -1,96 +0,0 @@
|
||||||
#if TESTR == 1
|
|
||||||
|
|
||||||
#include <CGAL/Cartesian.h>
|
|
||||||
|
|
||||||
inline double to_nt(int d)
|
|
||||||
{
|
|
||||||
return double(d);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if TESTR == 2
|
|
||||||
|
|
||||||
#include <CGAL/Homogeneous.h>
|
|
||||||
|
|
||||||
inline double to_nt(int d)
|
|
||||||
{
|
|
||||||
return d;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#if TESTR == 3
|
|
||||||
|
|
||||||
#include <CGAL/test_types.h>
|
|
||||||
#include <CGAL/Cartesian.h>
|
|
||||||
|
|
||||||
inline CGAL::TestfieldC to_nt(int d)
|
|
||||||
{
|
|
||||||
unsigned char dummy1 = 'a';
|
|
||||||
signed char dummy2 = 'a';
|
|
||||||
return CGAL::TestfieldC(dummy1, dummy2, (double)d);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#if TESTR == 4
|
|
||||||
|
|
||||||
#include <CGAL/test_types.h>
|
|
||||||
#include <CGAL/Homogeneous.h>
|
|
||||||
|
|
||||||
inline CGAL::TestrepH to_nt(int d)
|
|
||||||
{
|
|
||||||
unsigned char dummy1 = 'a';
|
|
||||||
signed char dummy2 = 'a';
|
|
||||||
return CGAL::TestrepH(dummy1, dummy2, d);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if TESTR == 5
|
|
||||||
|
|
||||||
#include <CGAL/Homogeneous.h>
|
|
||||||
#include <CGAL/Integer.h>
|
|
||||||
|
|
||||||
#if CGAL_LEDA_VERSION < 500
|
|
||||||
#include <LEDA/REDEFINE_NAMES.h>
|
|
||||||
#else
|
|
||||||
#include <LEDA/internal/REDEFINE_NAMES.h>
|
|
||||||
#endif
|
|
||||||
inline integer to_nt(int d)
|
|
||||||
{
|
|
||||||
return integer(d);
|
|
||||||
|
|
||||||
}
|
|
||||||
#if CGAL_LEDA_VERSION < 500
|
|
||||||
#include <LEDA/UNDEFINE_NAMES.h>
|
|
||||||
#else
|
|
||||||
#include <LEDA/internal/UNDEFINE_NAMES.h>
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct randomint {
|
|
||||||
randomint() ;
|
|
||||||
int get() const { return sequence[cur]; }
|
|
||||||
int next() { cur = (cur+1)%11; return get();}
|
|
||||||
private:
|
|
||||||
int sequence[11];
|
|
||||||
int cur;
|
|
||||||
};
|
|
||||||
|
|
||||||
inline randomint::randomint()
|
|
||||||
{
|
|
||||||
cur = 0;
|
|
||||||
sequence[0] = 19;
|
|
||||||
sequence[1] = 5;
|
|
||||||
sequence[2] = 17;
|
|
||||||
sequence[3] = 13;
|
|
||||||
sequence[4] = 29;
|
|
||||||
sequence[5] = 2;
|
|
||||||
sequence[6] = 23;
|
|
||||||
sequence[7] = 31;
|
|
||||||
sequence[8] = 3;
|
|
||||||
sequence[9] = 37;
|
|
||||||
sequence[10] = 11;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
#if TESTR == 1
|
|
||||||
typedef double testnt;
|
|
||||||
typedef CGAL::Cartesian<testnt> TestR;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if TESTR == 2
|
|
||||||
typedef double testnt;
|
|
||||||
typedef CGAL::Homogeneous<testnt> TestR;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if TESTR == 3
|
|
||||||
typedef CGAL::TestfieldC testnt;
|
|
||||||
typedef CGAL::Cartesian<testnt> TestR;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if TESTR == 4
|
|
||||||
typedef CGAL::TestrepH testnt;
|
|
||||||
typedef CGAL::Homogeneous<testnt> TestR;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if TESTR == 5
|
|
||||||
#if CGAL_LEDA_VERSION < 500
|
|
||||||
#include <LEDA/REDEFINE_NAMES.h>
|
|
||||||
#else
|
|
||||||
#include <LEDA/internal/REDEFINE_NAMES.h>
|
|
||||||
#endif
|
|
||||||
typedef integer testnt;
|
|
||||||
#if CGAL_LEDA_VERSION < 500
|
|
||||||
#include <LEDA/UNDEFINE_NAMES.h>
|
|
||||||
#else
|
|
||||||
#include <LEDA/internal/UNDEFINE_NAMES.h>
|
|
||||||
#endif
|
|
||||||
typedef CGAL::Homogeneous<testnt> TestR;
|
|
||||||
#endif
|
|
||||||
Loading…
Reference in New Issue