Home
last modified time | relevance | path

Searched refs:EPSILON2 (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp60 SkScalar EPSILON2 = 0.50f; variable
314 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[1].rect.left(), 90.921f, EPSILON2)); in UNIX_ONLY_TEST()
316 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[1].rect.right(), 90.921f + 50, EPSILON2)); in UNIX_ONLY_TEST()
319 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[3].rect.left(), 231.343f, EPSILON2)); in UNIX_ONLY_TEST()
321 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[3].rect.right(), 231.343f + 50, EPSILON2)); in UNIX_ONLY_TEST()
324 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[4].rect.left(), 281.343f, EPSILON2)); in UNIX_ONLY_TEST()
326 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[4].rect.right(), 281.343f + 5, EPSILON2)); in UNIX_ONLY_TEST()
329 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[6].rect.left(), 336.343f, EPSILON2)); in UNIX_ONLY_TEST()
331 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[6].rect.right(), 336.343f + 5, EPSILON2)); in UNIX_ONLY_TEST()
373 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.left(), 90.921f, EPSILON2)); in UNIX_ONLY_TEST()
[all …]
/third_party/flutter/skia/tests/
DSkParagraphTest.cpp25 SkScalar EPSILON2 = 0.50f; variable
2268 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[0].rect.top(), 10.611f, EPSILON2)); in DEF_TEST()
2270 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[0].rect.bottom(), 27.017f, EPSILON2)); in DEF_TEST()