Home
last modified time | relevance | path

Searched refs:reallyBig (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/tests/
H A DRectTest.cpp248 SkIRect reallyBig = SkIRect::MakeLTRB(-INT_MAX + 1000, 0, INT_MAX - 1000, 100); in DEF_TEST() local
254 // Ignoring overflow, "reallyBig - reasonable" should report exact = false and select either the in DEF_TEST()
255 // left or right portion of 'reallyBig' that excludes 'reasonable', e.g. in DEF_TEST()
257 // This used to assert, but now it should be detected that 'reallyBig' overflows and is in DEF_TEST()
260 bool exact = SkRectPriv::Subtract(reallyBig, reasonable, &difference); in DEF_TEST()
262 REPORTER_ASSERT(reporter, difference == reallyBig); in DEF_TEST()
264 // Similarly, if we subtract 'reallyBig', since it's technically empty then we expect the in DEF_TEST()
266 exact = SkRectPriv::Subtract(reasonable, reallyBig, &difference); in DEF_TEST()

Completed in 2 milliseconds