the testsuite of Distance_[23] requires NDEBUG to be not defined

This commit is contained in:
Sébastien Loriot 2011-06-23 07:59:38 +00:00
parent cb2aa6f75b
commit 56631be634
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,9 @@
// 2D distance tests.
#ifdef NDEBUG
#undef NDEBUG //this testsuite requires NDEBUG to be not defined
#endif
#include <CGAL/Object.h>
#include <CGAL/Line_2.h>
#include <CGAL/Point_2.h>
@ -15,10 +19,6 @@
#include <iostream>
#include <cassert>
#ifdef NDEBUG
# error The test-suite needs no NDEBUG defined
#endif
const double epsilon = 0.001;
struct randomint {

View File

@ -1,5 +1,9 @@
// 3D distance tests.
#ifdef NDEBUG
#undef NDEBUG //this testsuite requires NDEBUG to be not defined
#endif
#include <CGAL/Object.h>
#include <CGAL/Line_3.h>
#include <CGAL/Point_3.h>
@ -15,10 +19,6 @@
#include <iostream>
#include <cassert>
#ifdef NDEBUG
# error The test-suite needs no NDEBUG defined
#endif
const double epsilon = 0.001;
struct randomint {