Index: tests/GrShapeTest.cpp |
diff --git a/tests/GrShapeTest.cpp b/tests/GrShapeTest.cpp |
index 3f23a1c2ac0766599e11ec8cbc560734e4244293..f4d3d31b4229b9da6eadb557bff82ddb93e193bb 100644 |
--- a/tests/GrShapeTest.cpp |
+++ b/tests/GrShapeTest.cpp |
@@ -157,10 +157,13 @@ private: |
SkPath path; |
fBase.asPath(&path); |
REPORTER_ASSERT(r, path.isEmpty() == fBase.isEmpty()); |
+ REPORTER_ASSERT(r, path.getSegmentMasks() == fBase.segmentMask()); |
fAppliedPE.asPath(&path); |
REPORTER_ASSERT(r, path.isEmpty() == fAppliedPE.isEmpty()); |
+ REPORTER_ASSERT(r, path.getSegmentMasks() == fAppliedPE.segmentMask()); |
fAppliedFull.asPath(&path); |
REPORTER_ASSERT(r, path.isEmpty() == fAppliedFull.isEmpty()); |
+ REPORTER_ASSERT(r, path.getSegmentMasks() == fAppliedFull.segmentMask()); |
CheckBounds(r, fBase, fBase.bounds()); |
CheckBounds(r, fAppliedPE, fAppliedPE.bounds()); |
@@ -283,6 +286,7 @@ void check_equivalence(skiatest::Reporter* r, const GrShape& a, const GrShape& b |
REPORTER_ASSERT(r, a.isEmpty() == b.isEmpty()); |
REPORTER_ASSERT(r, a.knownToBeClosed() == b.knownToBeClosed()); |
REPORTER_ASSERT(r, a.bounds() == b.bounds()); |
+ REPORTER_ASSERT(r, a.segmentMask() == b.segmentMask()); |
} |
void TestCase::compare(skiatest::Reporter* r, const TestCase& that, |