fix fuzz bugs
authorcaryclark <caryclark@google.com>
Tue, 28 Jun 2016 16:23:57 +0000 (09:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Jun 2016 16:23:57 +0000 (09:23 -0700)
commit3f0753d3eccece8ac7f02f6af36d66a96c3dfb26
treea7dca73764a07182471f1c69de159d92059ee9bf
parent74139f1b49d02b38006170c3e50439c1b33b175f
fix fuzz bugs

Detect more places where the pathops numerics cause numbers
to become nearly identical and subsequently fail. These tests
have extreme inputs and cannot succeed.

Also remove the expectSuccess parameter from PathOpsDebug
and check instead in the test framework.

R=mbarbella@chromium.org
TBR=reed@google.com
BUG=623072,623022
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2103513002

Review-Url: https://codereview.chromium.org/2103513002
src/pathops/SkDConicLineIntersection.cpp
src/pathops/SkOpCoincidence.cpp
src/pathops/SkOpCoincidence.h
src/pathops/SkPathOpsCommon.cpp
src/pathops/SkPathOpsCommon.h
src/pathops/SkPathOpsConic.cpp
src/pathops/SkPathOpsOp.cpp
tests/PathOpsExtendedTest.cpp
tests/PathOpsExtendedTest.h
tests/PathOpsOpTest.cpp