mirror of https://github.com/CGAL/cgal
the testsuite of Distance_[23] requires NDEBUG to be not defined
This commit is contained in:
parent
cb2aa6f75b
commit
56631be634
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue