diff options
Diffstat (limited to 'tests/PathOpsQuadLineIntersectionTest.cpp')
-rw-r--r-- | tests/PathOpsQuadLineIntersectionTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/PathOpsQuadLineIntersectionTest.cpp b/tests/PathOpsQuadLineIntersectionTest.cpp index 7ec8066b03..a871417f1f 100644 --- a/tests/PathOpsQuadLineIntersectionTest.cpp +++ b/tests/PathOpsQuadLineIntersectionTest.cpp @@ -85,6 +85,10 @@ static void testOneOffs(skiatest::Reporter* reporter) { SkDPoint quadXY = quad.ptAtT(quadT); double lineT = intersections[1][inner]; SkDPoint lineXY = line.ptAtT(lineT); + if (!quadXY.approximatelyEqual(lineXY)) { + quadXY.approximatelyEqual(lineXY); + SkDebugf(""); + } REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY)); } } |