Lines Matching refs:advances
29 static void expectAdvances(const std::vector<float>& expected, const std::vector<float>& advances) { in expectAdvances() argument
30 EXPECT_LE(expected.size(), advances.size()); in expectAdvances()
32 EXPECT_EQ(expected[i], advances[i]) in expectAdvances()
34 << ", Actual: " << advances[i]; in expectAdvances()
430 std::vector<float> advances(text.size()); in TEST_F() local
433 EndHyphenEdit::NO_EDIT, advances.data())); in TEST_F()
434 ASSERT_EQ(1u, advances.size()); in TEST_F()
435 EXPECT_EQ(1.0f, advances[0]); in TEST_F()
440 std::vector<float> advances(text.size()); in TEST_F() local
443 EndHyphenEdit::NO_EDIT, advances.data())); in TEST_F()
444 ASSERT_EQ(2u, advances.size()); in TEST_F()
445 EXPECT_EQ(1.0f, advances[0]); in TEST_F()
446 EXPECT_EQ(5.0f, advances[1]); in TEST_F()
451 std::vector<float> advances(text.size()); in TEST_F() local
455 EndHyphenEdit::NO_EDIT, advances.data())); in TEST_F()
456 ASSERT_EQ(3u, advances.size()); in TEST_F()
457 EXPECT_EQ(1.0f, advances[0]); in TEST_F()
458 EXPECT_EQ(5.0f, advances[1]); in TEST_F()
459 EXPECT_EQ(10.0f, advances[2]); in TEST_F()