Home | History | Annotate | Download | only in tests

Lines Matching defs:tolerance

108                        const Color& color, uint8_t tolerance) {
125 auto colorCompare = [tolerance](uint8_t a, uint8_t b) {
127 return tmp <= tolerance;
205 void expectColor(const Rect& rect, const Color& color, uint8_t tolerance = 0) {
207 expectBufferColor(mOutBuffer, mPixels, rect, color, tolerance);
210 void expectBorder(const Rect& rect, const Color& color, uint8_t tolerance = 0) {
225 expectColor(top, color, tolerance);
229 expectColor(left, color, tolerance);
233 expectColor(right, color, tolerance);
243 expectColor(bottom, color, tolerance);
249 uint8_t tolerance = 0) {
258 tolerance);
260 tolerance);
262 tolerance);
264 bottomRight, tolerance);
971 const uint8_t tolerance = 1;
975 screenshot()->expectColor(Rect(0, 0, 32, 32), expected, tolerance);
1001 const uint8_t tolerance = 1;
1008 tolerance);
1026 const uint8_t tolerance = 1;
1034 tolerance);