Lines Matching refs:tolerance
137 const Color& color, uint8_t tolerance) { in expectBufferColor() argument
154 auto colorCompare = [tolerance](uint8_t a, uint8_t b) { in expectBufferColor()
156 return tmp <= tolerance; in expectBufferColor()
248 void expectColor(const Rect& rect, const Color& color, uint8_t tolerance = 0) { in expectColor() argument
250 expectBufferColor(mOutBuffer, mPixels, rect, color, tolerance); in expectColor()
253 void expectBorder(const Rect& rect, const Color& color, uint8_t tolerance = 0) { in expectBorder() argument
268 expectColor(top, color, tolerance); in expectBorder()
272 expectColor(left, color, tolerance); in expectBorder()
276 expectColor(right, color, tolerance); in expectBorder()
286 expectColor(bottom, color, tolerance); in expectBorder()
292 uint8_t tolerance = 0) { in expectQuadrant() argument
301 tolerance); in expectQuadrant()
303 tolerance); in expectQuadrant()
305 tolerance); in expectQuadrant()
307 bottomRight, tolerance); in expectQuadrant()
1662 const uint8_t tolerance = 1; in TEST_P() local
1666 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), expected, tolerance); in TEST_P()
1883 const uint8_t tolerance = 1; in TEST_P() local
1890 tolerance); in TEST_P()
1909 const uint8_t tolerance = 1; in TEST_P() local
1917 tolerance); in TEST_P()
3014 const uint8_t tolerance = 1; in TEST_P() local
3020 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), expectedColor, tolerance); in TEST_P()
3067 const uint8_t tolerance = 1; in TEST_P() local
3075 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), expectedColor, tolerance); in TEST_P()
3127 const uint8_t tolerance = 1; in TEST_P() local
3136 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), expectedColor, tolerance); in TEST_P()