diff options
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-17 15:49:16 +0000 |
---|---|---|
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-17 15:49:16 +0000 |
commit | b3f0921fba9457ba7ea79f220d8c1ec9345bfd3a (patch) | |
tree | 88e4c5e6b5f7622e4949073f8de141c2685a503e /tests/PathOpsQuadIntersectionTest.cpp | |
parent | 319baf99636c39f41d93c8808b7be3d198aa27b4 (diff) |
shape ops work in progress
Try to fix the 32 bit build by making some math
decisions more robust.
Rewrite the cubic intersection special case that
detects if only end points are shared.
Rewrite the angle sort setup that computes whether
a cubic bends to the left or right.
git-svn-id: http://skia.googlecode.com/svn/trunk@8726 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathOpsQuadIntersectionTest.cpp')
-rw-r--r-- | tests/PathOpsQuadIntersectionTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PathOpsQuadIntersectionTest.cpp b/tests/PathOpsQuadIntersectionTest.cpp index 85555631df..4276051c6c 100644 --- a/tests/PathOpsQuadIntersectionTest.cpp +++ b/tests/PathOpsQuadIntersectionTest.cpp @@ -252,8 +252,7 @@ static void oneOffTest1(skiatest::Reporter* reporter, size_t outer, size_t inner } static void QuadraticIntersection_OneOffTest(skiatest::Reporter* reporter) { - oneOffTest1(reporter, 0, 1); - oneOffTest1(reporter, 1, 0); + oneOffTest1(reporter, 43, 47); } static void oneOffTests(skiatest::Reporter* reporter) { @@ -465,3 +464,4 @@ static void PathOpsQuadIntersectionTest(skiatest::Reporter* reporter) { #include "TestClassDef.h" DEFINE_TESTCLASS_SHORT(PathOpsQuadIntersectionTest) +DEFINE_TESTCLASS_SHORT(QuadraticIntersection_OneOffTest) |