Home
last modified time | relevance | path

Searched refs:testRegionB (Results 1 – 6 of 6) sorted by relevance

/haiku/src/tests/kits/interface/bregion/
H A DRegionExclude.cpp45 BRegion *testRegionB) in CheckExclude() argument
49 bool testRegionBEmpty = RegionIsEmpty(testRegionB); in CheckExclude()
51 if (RegionsAreEqual(testRegionA, testRegionB)) { in CheckExclude()
57 tempRegion.IntersectWith(testRegionB); in CheckExclude()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckExclude()
70 BRect testRegionBFrame(testRegionB->Frame()); in CheckExclude()
83 assert(!RegionsAreEqual(resultRegion, testRegionB)); in CheckExclude()
84 for(int i = 0; i < testRegionB->CountRects(); i++) { in CheckExclude()
85 BRect tempRect = testRegionB->RectAt(i); in CheckExclude()
87 assert(testRegionB->Intersects(tempRect)); in CheckExclude()
[all …]
H A DRegionIntersect.cpp45 BRegion *testRegionB) in CheckIntersect() argument
49 bool testRegionBEmpty = RegionIsEmpty(testRegionB); in CheckIntersect()
51 if (RegionsAreEqual(testRegionA, testRegionB)) { in CheckIntersect()
57 tempRegion.Include(testRegionB); in CheckIntersect()
58 assert(RegionsAreEqual(&tempRegion, testRegionB)); in CheckIntersect()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckIntersect()
63 tempRegion.Include(testRegionB); in CheckIntersect()
70 BRect testRegionBFrame(testRegionB->Frame()); in CheckIntersect()
79 for(int i = 0; i < testRegionB->CountRects(); i++) { in CheckIntersect()
80 BRect tempRect = testRegionB->RectAt(i); in CheckIntersect()
[all …]
H A DRegionInclude.cpp45 BRegion *testRegionB) in CheckInclude() argument
49 bool testRegionBEmpty = RegionIsEmpty(testRegionB); in CheckInclude()
51 if (RegionsAreEqual(testRegionA, testRegionB)) { in CheckInclude()
57 tempRegion.IntersectWith(testRegionB); in CheckInclude()
58 assert(RegionsAreEqual(&tempRegion, testRegionB)); in CheckInclude()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckInclude()
63 tempRegion.IntersectWith(testRegionB); in CheckInclude()
70 BRect testRegionBFrame(testRegionB->Frame()); in CheckInclude()
78 for(int i = 0; i < testRegionB->CountRects(); i++) { in CheckInclude()
79 BRect tempRect = testRegionB->RectAt(i); in CheckInclude()
[all …]
H A DRegionConstruction.cpp94 void RegionConstruction::testTwoRegions(BRegion *testRegionA, BRegion *testRegionB) in testTwoRegions() argument
104 tempRegion1 = *testRegionB; in testTwoRegions()
106 assert(RegionsAreEqual(&tempRegion1, testRegionB)); in testTwoRegions()
H A DRegionTestcase.cpp273 BRegion *testRegionB = static_cast<BRegion *>(listOfRegions.ItemAt(j)); in PerformTest() local
275 testTwoRegions(testRegionA, testRegionB); in PerformTest()
H A DRegionOffsetBy.cpp97 void RegionOffsetBy::testTwoRegions(BRegion *testRegionA, BRegion *testRegionB) in testTwoRegions() argument