aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsLineIntersectionTest.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2014-09-18 10:32:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-18 10:32:57 -0700
commit65b427cff9cd34a06ff060d65d00cc3615d8fd94 (patch)
tree2226d5e4cddde9c97da5d80534ad3bfa468b8138 /tests/PathOpsLineIntersectionTest.cpp
parenta0537deca24abc2713e72f61e9cec14bdcc703d0 (diff)
fix battlefield website by disallowing very small coordinates
also add and remove comments to document other attempts to fix this that had drawbacks R=fmalita@chromium.org BUG=414409 Author: caryclark@google.com Review URL: https://codereview.chromium.org/575553003
Diffstat (limited to 'tests/PathOpsLineIntersectionTest.cpp')
-rw-r--r--tests/PathOpsLineIntersectionTest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/PathOpsLineIntersectionTest.cpp b/tests/PathOpsLineIntersectionTest.cpp
index 0c6aac65d9..105187be64 100644
--- a/tests/PathOpsLineIntersectionTest.cpp
+++ b/tests/PathOpsLineIntersectionTest.cpp
@@ -54,6 +54,9 @@ static const SkDLine noIntersect[][2] = {
static const size_t noIntersect_count = SK_ARRAY_COUNT(noIntersect);
static const SkDLine coincidentTests[][2] = {
+ {{{ {-1.48383003e-006,-83}, {4.2268899e-014,-60} }},
+ {{ {9.5359502e-007,-60}, {5.08227985e-015,-83} }}},
+
{{{ { 10105, 2510 }, { 10123, 2509.98999f } }},
{{{10105, 2509.98999f}, { 10123, 2510 } }}},