From c9786a98af6d2ee72ba9846966bc64d09e24598f Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Fri, 29 Aug 2008 12:27:22 +0000 Subject: [PATCH] Remove unused files. --- .../test/Intersections_2/numrep1.h | 96 ------------------- .../test/Intersections_2/numrep2.h | 34 ------- 2 files changed, 130 deletions(-) delete mode 100644 Intersections_2/test/Intersections_2/numrep1.h delete mode 100644 Intersections_2/test/Intersections_2/numrep2.h diff --git a/Intersections_2/test/Intersections_2/numrep1.h b/Intersections_2/test/Intersections_2/numrep1.h deleted file mode 100644 index 11bfcf89d44..00000000000 --- a/Intersections_2/test/Intersections_2/numrep1.h +++ /dev/null @@ -1,96 +0,0 @@ -#if TESTR == 1 - -#include - -inline double to_nt(int d) -{ - return double(d); -} -#endif - -#if TESTR == 2 - -#include - -inline double to_nt(int d) -{ - return d; -} -#endif - - -#if TESTR == 3 - -#include -#include - -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 -#include - -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 -#include - -#if CGAL_LEDA_VERSION < 500 -#include -#else -#include -#endif -inline integer to_nt(int d) -{ - return integer(d); - -} -#if CGAL_LEDA_VERSION < 500 -#include -#else -#include -#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; -} - diff --git a/Intersections_2/test/Intersections_2/numrep2.h b/Intersections_2/test/Intersections_2/numrep2.h deleted file mode 100644 index 324de4641bb..00000000000 --- a/Intersections_2/test/Intersections_2/numrep2.h +++ /dev/null @@ -1,34 +0,0 @@ -#if TESTR == 1 - typedef double testnt; - typedef CGAL::Cartesian TestR; -#endif - -#if TESTR == 2 - typedef double testnt; - typedef CGAL::Homogeneous TestR; -#endif - -#if TESTR == 3 - typedef CGAL::TestfieldC testnt; - typedef CGAL::Cartesian TestR; -#endif - -#if TESTR == 4 - typedef CGAL::TestrepH testnt; - typedef CGAL::Homogeneous TestR; -#endif - -#if TESTR == 5 -#if CGAL_LEDA_VERSION < 500 -#include -#else -#include -#endif - typedef integer testnt; -#if CGAL_LEDA_VERSION < 500 -#include -#else -#include -#endif - typedef CGAL::Homogeneous TestR; -#endif