Home
last modified time | relevance | path

Searched refs:expected_y (Results 1 – 9 of 9) sorted by relevance

/third_party/boost/libs/geometry/test/algorithms/detail/
Das_range.cpp40 void test_geometry(std::string const& wkt, double expected_x, double expected_y) in test_geometry() argument
54 BOOST_CHECK_CLOSE(s, expected_y, 0.001); in test_geometry()
/third_party/harfbuzz/test/shaping/data/aots/
Dhb-aots-tester.cpp314 int expected_y = y[i]; in gpos_test() local
315 if (expected_x || expected_y) fprintf (tests_file, "@%d,%d", expected_x, expected_y); in gpos_test()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/shaping/data/aots/
Dhb-aots-tester.cpp314 int expected_y = y[i]; in gpos_test() local
315 if (expected_x || expected_y) fprintf (tests_file, "@%d,%d", expected_x, expected_y); in gpos_test()
/third_party/flutter/skia/tests/
DSkParagraphTest.cpp549 double expected_y = 0; in DEF_TEST() local
553 SkScalarNearlyEqual(impl->lines()[0].offset().fY, expected_y, epsilon)); in DEF_TEST()
554 expected_y += 30; in DEF_TEST()
556 SkScalarNearlyEqual(impl->lines()[1].offset().fY, expected_y, epsilon)); in DEF_TEST()
557 expected_y += 30; in DEF_TEST()
559 SkScalarNearlyEqual(impl->lines()[2].offset().fY, expected_y, epsilon)); in DEF_TEST()
560 expected_y += 30; in DEF_TEST()
562 SkScalarNearlyEqual(impl->lines()[3].offset().fY, expected_y, epsilon)); in DEF_TEST()
563 expected_y += 30 * 10; in DEF_TEST()
565 SkScalarNearlyEqual(impl->lines()[13].offset().fY, expected_y, epsilon)); in DEF_TEST()
[all …]
/third_party/boost/libs/geometry/test/strategies/
Dsegment_intersection_collinear.cpp40 std::size_t index, double expected_x, double expected_y) in check() argument
42 if (expected_x != -99 && expected_y != -99 && is.count > index) in check()
48 BOOST_CHECK_CLOSE(y, expected_y, 0.001); in check()
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/aots/
Dhb-aots-tester.cpp407 int expected_y = y[i]; in gpos_test() local
408 if (expected_x || expected_y) fprintf (tests_file, "@%d,%d", expected_x, expected_y); in gpos_test()
/third_party/flutter/engine/flutter/third_party/txt/tests/
Dparagraph_unittests.cc1445 double expected_y = 24; in TEST_F() local
1448 ASSERT_DOUBLE_EQ(paragraph->records_[0].offset().y(), expected_y); in TEST_F()
1449 expected_y += 30; in TEST_F()
1453 ASSERT_DOUBLE_EQ(paragraph->records_[1].offset().y(), expected_y); in TEST_F()
1454 expected_y += 30; in TEST_F()
1458 ASSERT_DOUBLE_EQ(paragraph->records_[2].offset().y(), expected_y); in TEST_F()
1459 expected_y += 30; in TEST_F()
1463 ASSERT_DOUBLE_EQ(paragraph->records_[3].offset().y(), expected_y); in TEST_F()
1464 expected_y += 30 * 10; in TEST_F()
1468 ASSERT_DOUBLE_EQ(paragraph->records_[13].offset().y(), expected_y); in TEST_F()
[all …]
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp1625 double expected_y = 0; in UNIX_ONLY_TEST() local
1629 SkScalarNearlyEqual(impl->lines()[0].offset().fY, expected_y, epsilon)); in UNIX_ONLY_TEST()
1630 expected_y += 30; in UNIX_ONLY_TEST()
1632 SkScalarNearlyEqual(impl->lines()[1].offset().fY, expected_y, epsilon)); in UNIX_ONLY_TEST()
1633 expected_y += 30; in UNIX_ONLY_TEST()
1635 SkScalarNearlyEqual(impl->lines()[2].offset().fY, expected_y, epsilon)); in UNIX_ONLY_TEST()
1636 expected_y += 30; in UNIX_ONLY_TEST()
1638 SkScalarNearlyEqual(impl->lines()[3].offset().fY, expected_y, epsilon)); in UNIX_ONLY_TEST()
1639 expected_y += 30 * 10; in UNIX_ONLY_TEST()
1641 SkScalarNearlyEqual(impl->lines()[13].offset().fY, expected_y, epsilon)); in UNIX_ONLY_TEST()
[all …]
/third_party/boost/libs/geometry/test/algorithms/
Dpoint_on_surface.cpp126 …y(std::string const& case_id, std::string const& wkt, double expected_x = 0, double expected_y = 0) in test_geometry() argument
131 test_geometry(case_id, geometry, expected_x, expected_y); in test_geometry()