diff options
author | caryclark <caryclark@google.com> | 2016-10-24 08:19:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-24 08:19:07 -0700 |
commit | 34efb7039851d7796ba06aa58e5c5882ede503ac (patch) | |
tree | 9e196372831dca5f80d1a6cda2b8934ac1f26095 /tests/PathOpsQuadIntersectionTest.cpp | |
parent | 526972ecb5411b84ba2f5e20252f178f9ee2151f (diff) |
nc seal breaks simplify
This test has nearly coincident lines that are missorted.
The underlying bug is caused when a pair of curves
are coincident when reduced to line segments, but the
end points aren't detected.
The error was generated by running nanobench over all svg
sample data with the distance field patch installed.
TBR=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2440043003
Review-Url: https://codereview.chromium.org/2440043003
Diffstat (limited to 'tests/PathOpsQuadIntersectionTest.cpp')
-rw-r--r-- | tests/PathOpsQuadIntersectionTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/PathOpsQuadIntersectionTest.cpp b/tests/PathOpsQuadIntersectionTest.cpp index b0d9e3ae42..f5eb32f847 100644 --- a/tests/PathOpsQuadIntersectionTest.cpp +++ b/tests/PathOpsQuadIntersectionTest.cpp @@ -57,6 +57,9 @@ static void standardTestCases(skiatest::Reporter* reporter) { } static const QuadPts testSet[] = { +{{{123.637985f, 102.405312f}, {125.172699f, 104.575714f}, {123.387383f, 106.91227f}}}, +{{{123.388428f, 106.910896f}, {123.365623f, 106.94088f}, {123.320007f, 107.000946f}}}, + {{{-0.001019871095195412636, -0.008523519150912761688}, {-0.005396408028900623322, -0.005396373569965362549}, {-0.02855382487177848816, -0.02855364233255386353}}}, {{{-0.004567248281091451645, -0.01482933573424816132}, {-0.01142475008964538574, -0.01140109263360500336}, {-0.02852955088019371033, -0.02847047336399555206}}}, |