Searched refs:EPSILON50 (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 56 SkScalar EPSILON50 = 0.02f; variable 543 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.left(), 90.921f, EPSILON50)); in UNIX_ONLY_TEST() 545 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.right(), 90.921f + 55, EPSILON50)); in UNIX_ONLY_TEST() 551 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.left(), 0.5f, EPSILON50)); in UNIX_ONLY_TEST() 553 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.right(), 16.097f, EPSILON50)); in UNIX_ONLY_TEST() 597 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.left(), 90.921f, EPSILON50)); in UNIX_ONLY_TEST() 599 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.right(), 90.921f + 55, EPSILON50)); in UNIX_ONLY_TEST() 605 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.left(), 0.5f, EPSILON50)); in UNIX_ONLY_TEST() 607 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.right(), 16.097f, EPSILON50)); in UNIX_ONLY_TEST() 651 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[0].rect.left(), 90.921f, EPSILON50)); in UNIX_ONLY_TEST() [all …]
|
/third_party/flutter/skia/tests/ |
D | SkParagraphTest.cpp | 22 SkScalar EPSILON50 = 0.02f; variable 1540 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[0].rect.right(), 595.085f, EPSILON50)); in DEF_TEST() 1608 … REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[0].rect.right(), 508.0625f, EPSILON50)); in DEF_TEST() 1628 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[2].rect.right(), 531.574f, EPSILON50)); in DEF_TEST() 1631 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[3].rect.left(), 531.574f, EPSILON50)); in DEF_TEST() 1650 … REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[0].rect.left(), 463.72656f, EPSILON50)); in DEF_TEST() 1652 … REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[0].rect.right(), 530.23047f, EPSILON50)); in DEF_TEST() 1655 … REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[1].rect.left(), 530.23047f, EPSILON50)); in DEF_TEST() 1729 … REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[0].rect.right(), 508.0625f, EPSILON50)); in DEF_TEST() 1771 … REPORTER_ASSERT(reporter, SkScalarNearlyEqual(result[0].rect.left(), 463.72656f, EPSILON50)); in DEF_TEST() [all …]
|