Index: tests/PathOpsDQuadTest.cpp |
diff --git a/tests/PathOpsDQuadTest.cpp b/tests/PathOpsDQuadTest.cpp |
index 5921b695782398911abef0ad0eb142e034c5162f..7ac4375016f31df92e7997483964064b45baa4e4 100644 |
--- a/tests/PathOpsDQuadTest.cpp |
+++ b/tests/PathOpsDQuadTest.cpp |
@@ -5,7 +5,9 @@ |
* found in the LICENSE file. |
*/ |
#include "PathOpsTestCommon.h" |
+#include "SkPath.h" |
#include "SkPathOpsQuad.h" |
+#include "SkRRect.h" |
#include "Test.h" |
static const SkDQuad tests[] = { |
@@ -51,5 +53,16 @@ static void PathOpsDQuadTest(skiatest::Reporter* reporter) { |
} |
} |
+static void PathOpsRRectTest(skiatest::Reporter* reporter) { |
+ SkPath path; |
+ SkRRect rRect; |
+ SkRect rect = {135, 143, 250, 177}; |
+ SkVector radii[4] = {{8, 8}, {8, 8}, {0, 0}, {0, 0}}; |
+ rRect.setRectRadii(rect, radii); |
+ path.addRRect(rRect); |
+} |
+ |
#include "TestClassDef.h" |
DEFINE_TESTCLASS_SHORT(PathOpsDQuadTest) |
+ |
+DEFINE_TESTCLASS_SHORT(PathOpsRRectTest) |