| 130 | namespace |
| 131 | { |
| 132 | void check_point_in_rect(m2::RectD const & r, m2::PointD const & p) |
| 133 | { |
| 134 | m2::PointD p1 = p; |
| 135 | m2::PointD p2 = p; |
| 136 | |
| 137 | TEST(m2::Intersect(r, p1, p2), ()); |
| 138 | TEST(p == p1 && p == p2, ()); |
| 139 | } |
| 140 | } // namespace |
| 141 | |
| 142 | UNIT_TEST(IntersectRect_Point) |