diff options
Diffstat (limited to 'tests/RegionTest.cpp')
-rw-r--r-- | tests/RegionTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RegionTest.cpp b/tests/RegionTest.cpp index f3d1e0b5a1..e629a9eb93 100644 --- a/tests/RegionTest.cpp +++ b/tests/RegionTest.cpp @@ -15,7 +15,7 @@ static void Union(SkRegion* rgn, const SkIRect& rect) { #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) -#define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, rgn.contains(rect)) +#define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) // inspired by http://code.google.com/p/skia/issues/detail?id=958 // |