Home
last modified time | relevance | path

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

/third_party/skia/tests/
H A DEncodeTest.cpp105 static inline bool almost_equals(SkPMColor a, SkPMColor b, int tolerance) { in almost_equals() function
125 static inline bool almost_equals(const SkBitmap& a, const SkBitmap& b, int tolerance) { in almost_equals() function
133 if (!almost_equals(*a.getAddr32(x, y), *b.getAddr32(x, y), tolerance)) { in almost_equals()
217 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 60)); in DEF_TEST()
218 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); in DEF_TEST()
331 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST()
332 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); in DEF_TEST()
431 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST()
432 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 90)); in DEF_TEST()
433 REPORTER_ASSERT(r, almost_equals(bm in DEF_TEST()
[all...]

Completed in 2 milliseconds