Lines Matching refs:testRegionA

44 void RegionExclude::CheckExclude(BRegion *resultRegion, BRegion *testRegionA,  in CheckExclude()  argument
48 bool testRegionAEmpty = RegionIsEmpty(testRegionA); in CheckExclude()
51 if (RegionsAreEqual(testRegionA, testRegionB)) { in CheckExclude()
55 if (RegionsAreEqual(resultRegion, testRegionA)) { in CheckExclude()
56 BRegion tempRegion(*testRegionA); in CheckExclude()
69 BRect testRegionAFrame(testRegionA->Frame()); in CheckExclude()
74 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckExclude()
81 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckExclude()
102 for(int i = 0; i < testRegionA->CountRects(); i++) { in CheckExclude()
103 BRect tempRect = testRegionA->RectAt(i); in CheckExclude()
105 assert(testRegionA->Intersects(tempRect)); in CheckExclude()
113 assert(testRegionA->Contains(pointArray[j])); in CheckExclude()
124 BRegion tempRegion(*testRegionA); in CheckExclude()
126 assert(RegionsAreEqual(&tempRegion, testRegionA)); in CheckExclude()
133 assert(testRegionA->Intersects(tempRect)); in CheckExclude()
140 assert(testRegionA->Contains(pointArray[j])); in CheckExclude()
165 void RegionExclude::testTwoRegions(BRegion *testRegionA, BRegion *testRegionB) in testTwoRegions() argument
167 BRegion tempRegion1(*testRegionA); in testTwoRegions()
169 assert(RegionsAreEqual(&tempRegion1, testRegionA)); in testTwoRegions()
173 CheckExclude(&tempRegion1, testRegionA, testRegionB); in testTwoRegions()
175 tempRegion1 = *testRegionA; in testTwoRegions()
177 assert(RegionsAreEqual(&tempRegion1, testRegionA)); in testTwoRegions()
183 CheckExclude(&tempRegion1, testRegionA, testRegionB); in testTwoRegions()