mirror of https://github.com/CGAL/cgal
Fix bad tests
This commit is contained in:
parent
6dfe06a286
commit
e1d6f75579
|
|
@ -239,6 +239,11 @@ public:
|
|||
if(pln.has_on(sph6))
|
||||
continue;
|
||||
|
||||
// The sphere constructor will assert on degenerate positions
|
||||
const Tet tet(pl0, sph6, sph5, sph4);
|
||||
if(tet.is_degenerate())
|
||||
continue;
|
||||
|
||||
sph = Sph(pl0, sph6, sph5, sph4);
|
||||
check_intersection(pln, sph, C(pln, sph));
|
||||
}
|
||||
|
|
@ -439,7 +444,7 @@ int main(int, char**)
|
|||
std::cout << " |||||||| Test EPECK ||||||||" << std::endl;
|
||||
Plane_3_intersection_tester< CGAL::Epeck >(r, true /*exact predicates*/, true /*exact constructions*/).run();
|
||||
|
||||
// FIXME BROKEN PROJECTION, BROKEN PLN-SPHERE
|
||||
// See above
|
||||
// std::cout << " |||||||| Test CGAL::Homogeneous<CGAL::Epeck_ft> ||||||||" << std::endl;
|
||||
// Plane_3_intersection_tester< CGAL::Homogeneous<CGAL::Epeck_ft> >(r, true /*exact predicates*/, true /*exact constructions*/).run();
|
||||
|
||||
|
|
|
|||
|
|
@ -148,9 +148,6 @@ public:
|
|||
const FT r = this->r.get_int(this->m + 1, this->M);
|
||||
Sph sph(c, r);
|
||||
|
||||
if(c != tr1 && c != tr2)
|
||||
check_do_intersect(sph, Tr(c, tr1, tr2));
|
||||
|
||||
if(sph.oriented_side(tr0) != sph.oriented_side(tr1) ||
|
||||
sph.oriented_side(tr0) != sph.oriented_side(tr2) ||
|
||||
sph.oriented_side(tr2) != sph.oriented_side(tr1))
|
||||
|
|
|
|||
Loading…
Reference in New Issue