MCPcopy Create free account
hub / github.com/comaps/comaps / check_full_equal

Function check_full_equal

libs/geometry/geometry_tests/intersect_test.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53template <class TComp>
54void check_full_equal(m2::RectD const & r, m2::PointD const & p1, m2::PointD const & p2, TComp comp)
55{
56 m2::PointD pp1 = p1;
57 m2::PointD pp2 = p2;
58 make_section_longer(pp1, pp2, 1000.0);
59
60 TEST(m2::Intersect(r, pp1, pp2), ());
61 TEST(comp(pp1, p1) && comp(pp2, p2), ());
62}
63
64void check_inside(m2::RectD const & r, m2::PointD const & p1, m2::PointD const & p2)
65{

Callers 3

check_intersect_diagonalFunction · 0.85
check_sidesFunction · 0.85

Calls 3

make_section_longerFunction · 0.85
TESTFunction · 0.85
IntersectFunction · 0.70

Tested by

no test coverage detected