diff options
author | caryclark <caryclark@google.com> | 2016-08-11 11:59:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-11 11:59:48 -0700 |
commit | c6d855f7f3d548c52f450299dc6975820cda3387 (patch) | |
tree | 41b62a4a345ea7687a3ba76b912733ce5484ac56 /tests | |
parent | fd8d013f0da10d94b43fb63002e56a3f4cd7f56d (diff) |
start working on tiger again
The tiger tests are a suite under development
that exercise many coincident edge cases.
This fixes the case when a duplicate point is not
ignored when the coincident span references the
primary point.
TBR=reed@google.com
BUG=skia:5131
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2239803002
Review-Url: https://codereview.chromium.org/2239803002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PathOpsOpTest.cpp | 4 | ||||
-rw-r--r-- | tests/PathOpsSimplifyTest.cpp | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/PathOpsOpTest.cpp b/tests/PathOpsOpTest.cpp index aba4e86ce5..c01d221fa3 100644 --- a/tests/PathOpsOpTest.cpp +++ b/tests/PathOpsOpTest.cpp @@ -7144,7 +7144,7 @@ path.conicTo(SkBits2Float(0x2a8c54ed), SkBits2Float(0x21081f21), SkBits2Float(0x path.conicTo(SkBits2Float(0x68392d5b), SkBits2Float(0xf0682955), SkBits2Float(0x2a1f5b2d), SkBits2Float(0xef552a21), SkBits2Float(0x5b2d2a8c)); // 3.4979e+24f, -2.87402e+29f, 1.41537e-13f, -6.59712e+28f, 4.8742e+16f SkPath path2(path); - testPathOpFail(reporter, path1, path2, (SkPathOp) 0, filename); + testPathOpSkipAssert(reporter, path1, path2, (SkPathOp) 0, filename); } static void fuzz763_24(skiatest::Reporter* reporter, const char* filename) { @@ -7197,8 +7197,8 @@ path.cubicTo(SkBits2Float(0x9e9e9e9e), SkBits2Float(0xe8009e9e), SkBits2Float(0x } static struct TestDesc failTests[] = { - TEST(fuzz763_24), TEST(fuzz763_23), + TEST(fuzz763_24), TEST(fuzz763_22), TEST(fuzz763_21), TEST(fuzz763_20), diff --git a/tests/PathOpsSimplifyTest.cpp b/tests/PathOpsSimplifyTest.cpp index 6e92f0f918..af2e09d79f 100644 --- a/tests/PathOpsSimplifyTest.cpp +++ b/tests/PathOpsSimplifyTest.cpp @@ -5256,7 +5256,7 @@ static void tiger8a_h_1(skiatest::Reporter* reporter, const char* filename) { #if DEBUG_UNDER_DEVELOPMENT // tiger return; #endif - uint64_t testlines = 0x0000000280802863; // best so far: 0x0000001610031021; + uint64_t testlines = 0x0000000202480001; // best so far: 0x0000001610031021; tiger8a_x(reporter, filename, testlines); } @@ -5789,6 +5789,11 @@ static void (*firstTest)(skiatest::Reporter* , const char* filename) = 0; static void (*stopTest)(skiatest::Reporter* , const char* filename) = 0; static TestDesc tests[] = { + TEST(tiger8a_h_1), + TEST(tiger8a_h), + TEST(tiger8a), + TEST(tiger8b), + TEST(tiger8), TEST(testQuads72), TEST(testQuads71), TEST(testQuads70), @@ -5797,11 +5802,6 @@ static TestDesc tests[] = { TEST(testQuads67), TEST(testQuads66), TEST(dean4), - TEST(tiger8a_h_1), - TEST(tiger8a_h), - TEST(tiger8a), - TEST(tiger8b), - TEST(tiger8), TEST(fuzz763_4713_b), TEST(fuzz_twister2), TEST(fuzz_twister), |