Index: tests/PathTest.cpp |
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp |
index 1b8071e0130d8c653095cdcf6f64c813fd14b092..a3fcb3a574c49a970bf7a66c912512f246252622 100644 |
--- a/tests/PathTest.cpp |
+++ b/tests/PathTest.cpp |
@@ -1496,6 +1496,10 @@ static void test_convexity(skiatest::Reporter* reporter) { |
check_convexity(reporter, path, SkPath::kConvex_Convexity); |
REPORTER_ASSERT(reporter, SkPathPriv::CheapIsFirstDirection(path, SkPathPriv::kCW_FirstDirection)); |
+ path.reset(); |
+ path.quadTo(100, 100, 50, 50); // This is a convex path from GM:convexpaths |
+ check_convexity(reporter, path, SkPath::kConvex_Convexity); |
+ |
static const struct { |
const char* fPathStr; |
SkPath::Convexity fExpectedConvexity; |