Index: tests/PathOpsOpTest.cpp |
=================================================================== |
--- tests/PathOpsOpTest.cpp (revision 9111) |
+++ tests/PathOpsOpTest.cpp (working copy) |
@@ -1343,9 +1343,23 @@ |
testPathOp(reporter, path, pathB, kDifference_PathOp); |
} |
+static void cubicOp71d(skiatest::Reporter* reporter) { |
+ SkPath path, pathB; |
+ path.setFillType(SkPath::kWinding_FillType); |
+ path.moveTo(0,1); |
+ path.cubicTo(0,5, 4,1, 6,4); |
+ path.close(); |
+ pathB.setFillType(SkPath::kWinding_FillType); |
+ pathB.moveTo(1,4); |
+ pathB.cubicTo(4,6, 1,0, 5,0); |
+ pathB.close(); |
+ testPathOp(reporter, path, pathB, kDifference_PathOp); |
+} |
+ |
static void (*firstTest)(skiatest::Reporter* ) = 0; |
static struct TestDesc tests[] = { |
+ TEST(cubicOp71d), |
TEST(skp5), |
TEST(skp4), |
TEST(skp3), |