Searched refs:tempRegion1 (Results 1 – 5 of 5) sorted by relevance
/haiku/src/tests/kits/interface/bregion/ |
H A D | RegionConstruction.cpp | 49 BRegion tempRegion1(*testRegion); in testOneRegion() local 50 assert(RegionsAreEqual(&tempRegion1, testRegion)); in testOneRegion() 51 CheckFrame(&tempRegion1); in testOneRegion() 53 tempRegion1.MakeEmpty(); in testOneRegion() 54 assert(RegionIsEmpty(&tempRegion1)); in testOneRegion() 55 CheckFrame(&tempRegion1); in testOneRegion() 58 assert(!RegionsAreEqual(&tempRegion1, testRegion)); in testOneRegion() 60 tempRegion1.Include(testRegion->RectAt(i)); in testOneRegion() 61 CheckFrame(&tempRegion1); in testOneRegion() 64 assert(RegionsAreEqual(&tempRegion1, testRegion)); in testOneRegion() [all …]
|
H A D | RegionOffsetBy.cpp | 46 BRegion tempRegion1(*testRegion); in testOneRegion() local 47 CheckFrame(&tempRegion1); in testOneRegion() 49 tempRegion1.OffsetBy(10.0, 20.0); in testOneRegion() 51 assert(RegionsAreEqual(&tempRegion1, testRegion)); in testOneRegion() 53 assert(!RegionsAreEqual(&tempRegion1, testRegion)); in testOneRegion() 67 assert(RegionsAreEqual(&tempRegion1, &tempRegion2)); in testOneRegion() 74 tempRegion1.OffsetBy(-10.0, -20.0); in testOneRegion() 75 CheckFrame(&tempRegion1); in testOneRegion() 77 assert(RegionsAreEqual(&tempRegion1, testRegion)); in testOneRegion() 78 assert(RegionsAreEqual(&tempRegion1, &tempRegion2)); in testOneRegion() [all …]
|
H A D | RegionInclude.cpp | 153 BRegion tempRegion1(*testRegionA); in testTwoRegions() local 154 CheckFrame(&tempRegion1); in testTwoRegions() 155 assert(RegionsAreEqual(&tempRegion1, testRegionA)); in testTwoRegions() 157 tempRegion1.Include(testRegionB); in testTwoRegions() 158 CheckFrame(&tempRegion1); in testTwoRegions() 159 CheckInclude(&tempRegion1, testRegionA, testRegionB); in testTwoRegions() 161 tempRegion1 = *testRegionA; in testTwoRegions() 162 CheckFrame(&tempRegion1); in testTwoRegions() 163 assert(RegionsAreEqual(&tempRegion1, testRegionA)); in testTwoRegions() 166 tempRegion1.Include(testRegionB->RectAt(i)); in testTwoRegions() [all …]
|
H A D | RegionExclude.cpp | 167 BRegion tempRegion1(*testRegionA); in testTwoRegions() local 168 CheckFrame(&tempRegion1); in testTwoRegions() 169 assert(RegionsAreEqual(&tempRegion1, testRegionA)); in testTwoRegions() 171 tempRegion1.Exclude(testRegionB); in testTwoRegions() 172 CheckFrame(&tempRegion1); in testTwoRegions() 173 CheckExclude(&tempRegion1, testRegionA, testRegionB); in testTwoRegions() 175 tempRegion1 = *testRegionA; in testTwoRegions() 176 CheckFrame(&tempRegion1); in testTwoRegions() 177 assert(RegionsAreEqual(&tempRegion1, testRegionA)); in testTwoRegions() 180 tempRegion1.Exclude(testRegionB->RectAt(i)); in testTwoRegions() [all …]
|
H A D | RegionIntersect.cpp | 175 BRegion tempRegion1(*testRegionA); in testTwoRegions() local 176 CheckFrame(&tempRegion1); in testTwoRegions() 177 assert(RegionsAreEqual(&tempRegion1, testRegionA)); in testTwoRegions() 179 tempRegion1.IntersectWith(testRegionB); in testTwoRegions() 180 CheckFrame(&tempRegion1); in testTwoRegions() 181 CheckIntersect(&tempRegion1, testRegionA, testRegionB); in testTwoRegions()
|