| 10 | double const kEps = 1e-10; |
| 11 | |
| 12 | void TestIntersectionResult(IntersectionResult const & result, IntersectionResult::Type expectedType, |
| 13 | PointD const & expectedPoint) |
| 14 | { |
| 15 | TEST_EQUAL(result.m_type, expectedType, ()); |
| 16 | TEST(AlmostEqualAbs(result.m_point, expectedPoint, kEps), (result.m_point, expectedPoint, kEps)); |
| 17 | } |
| 18 | |
| 19 | bool TestSegmentsIntersect(PointD a, PointD b, PointD c, PointD d) |
| 20 | { |
no test coverage detected