Home
last modified time | relevance | path

Searched refs:resultRegion (Results 1 – 3 of 3) sorted by relevance

/haiku/src/tests/kits/interface/bregion/
H A DRegionIntersect.cpp44 void RegionIntersect::CheckIntersect(BRegion *resultRegion, BRegion *testRegionA, in CheckIntersect() argument
47 bool resultRegionEmpty = RegionIsEmpty(resultRegion); in CheckIntersect()
52 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckIntersect()
55 if (RegionsAreEqual(resultRegion, testRegionA)) { in CheckIntersect()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckIntersect()
68 BRect resultRegionFrame(resultRegion->Frame()); in CheckIntersect()
84 assert(resultRegion->Intersects(tempRect)); in CheckIntersect()
86 assert(!resultRegion->Intersects(tempRect)); in CheckIntersect()
94 assert(resultRegion->Contains(pointArray[j])); in CheckIntersect()
96 assert(!resultRegion->Contains(pointArray[j])); in CheckIntersect()
[all …]
H A DRegionExclude.cpp44 void RegionExclude::CheckExclude(BRegion *resultRegion, BRegion *testRegionA, in CheckExclude() argument
47 bool resultRegionEmpty = RegionIsEmpty(resultRegion); in CheckExclude()
55 if (RegionsAreEqual(resultRegion, testRegionA)) { in CheckExclude()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckExclude()
68 BRect resultRegionFrame(resultRegion->Frame()); in CheckExclude()
74 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckExclude()
81 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckExclude()
83 assert(!RegionsAreEqual(resultRegion, testRegionB)); in CheckExclude()
88 assert(!resultRegion->Intersects(tempRect)); in CheckExclude()
94 assert(!resultRegion->Contains(pointArray[j])); in CheckExclude()
[all …]
H A DRegionInclude.cpp44 void RegionInclude::CheckInclude(BRegion *resultRegion, BRegion *testRegionA, in CheckInclude() argument
47 bool resultRegionEmpty = RegionIsEmpty(resultRegion); in CheckInclude()
52 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckInclude()
55 if (RegionsAreEqual(resultRegion, testRegionA)) { in CheckInclude()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckInclude()
68 BRect resultRegionFrame(resultRegion->Frame()); in CheckInclude()
76 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckInclude()
82 assert(resultRegion->Intersects(tempRect)); in CheckInclude()
88 assert(resultRegion->Contains(pointArray[j])); in CheckInclude()
94 assert(RegionsAreEqual(resultRegion, testRegionB)); in CheckInclude()
[all …]