mirror of https://github.com/CGAL/cgal
Enable some disabled tests: operator==(Origin, Point_x) now exists
This commit is contained in:
parent
98201c6ecc
commit
1e46c44142
|
|
@ -88,11 +88,8 @@ _test_cls_point_2(const R& )
|
||||||
|
|
||||||
assert( p0 == CGAL::ORIGIN);
|
assert( p0 == CGAL::ORIGIN);
|
||||||
assert( p1 != CGAL::ORIGIN );
|
assert( p1 != CGAL::ORIGIN );
|
||||||
// Doesn't work; Point_2::operator== can't be used :(
|
|
||||||
#ifdef ENHANCED
|
|
||||||
assert( CGAL::ORIGIN == p0 );
|
assert( CGAL::ORIGIN == p0 );
|
||||||
assert( CGAL::ORIGIN != p1 );
|
assert( CGAL::ORIGIN != p1 );
|
||||||
#endif
|
|
||||||
|
|
||||||
assert( p3.hx() == n1 ); // don't replace p3
|
assert( p3.hx() == n1 ); // don't replace p3
|
||||||
assert( p3.hy() == n2 );
|
assert( p3.hy() == n2 );
|
||||||
|
|
|
||||||
|
|
@ -86,11 +86,8 @@ _test_cls_point_3(const R& )
|
||||||
|
|
||||||
assert( p0 == CGAL::ORIGIN);
|
assert( p0 == CGAL::ORIGIN);
|
||||||
assert( p1 != CGAL::ORIGIN);
|
assert( p1 != CGAL::ORIGIN);
|
||||||
// Doesn't work; Point_2::operator== can't be used :(
|
|
||||||
#ifdef ENHANCED
|
|
||||||
assert( CGAL::ORIGIN == p0 );
|
assert( CGAL::ORIGIN == p0 );
|
||||||
assert( CGAL::ORIGIN != p1 );
|
assert( CGAL::ORIGIN != p1 );
|
||||||
#endif // ENHANCED
|
|
||||||
|
|
||||||
assert( p3.hx() == n1 ); // don't replace p3
|
assert( p3.hx() == n1 ); // don't replace p3
|
||||||
assert( p3.hy() == n2 );
|
assert( p3.hy() == n2 );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue