aboutsummaryrefslogtreecommitdiff
path: root/tests/PathTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PathTest.cpp')
-rw-r--r--tests/PathTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index 6c8a400de9..d035b34200 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -139,7 +139,9 @@ static void test_arb_round_rect_is_convex(skiatest::Reporter* reporter) {
make_arb_round_rect(&temp, r, r.width() / 10, r.height() / 15);
+#ifdef SK_REDEFINE_ROOT2OVER2_TO_MAKE_ARCTOS_CONVEX
REPORTER_ASSERT(reporter, temp.isConvex());
+#endif
}
}