From 796a1753d96eb0c76e742c8288617d758ddf33df Mon Sep 17 00:00:00 2001 From: "mike@reedtribe.org" Date: Wed, 7 Nov 2012 03:39:46 +0000 Subject: fix SkRegion::contains(rect), thanks to danakj and http://code.google.com/p/skia/issues/detail?id=958 git-svn-id: http://skia.googlecode.com/svn/trunk@6324 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/RegionTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/RegionTest.cpp') 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 // -- cgit v1.2.3