Lines Matching refs:getAdvance
25 float getAdvance(const float* advances, const char* src) { in getAdvance() function
37 EXPECT_EQ(0.0, getAdvance(unligated, "| 'f' 'i'")); in TEST()
38 EXPECT_EQ(30.0, getAdvance(unligated, "'f' | 'i'")); in TEST()
39 EXPECT_EQ(50.0, getAdvance(unligated, "'f' 'i' |")); in TEST()
42 EXPECT_EQ(0.0, getAdvance(ligated, "| 'f' 'i'")); in TEST()
43 EXPECT_EQ(20.0, getAdvance(ligated, "'f' | 'i'")); in TEST()
44 EXPECT_EQ(40.0, getAdvance(ligated, "'f' 'i' |")); in TEST()
50 EXPECT_EQ(0.0, getAdvance(unligated, "| U+0915 U+094D U+0915")); in TEST()
51 EXPECT_EQ(30.0, getAdvance(unligated, "U+0915 | U+094D U+0915")); in TEST()
52 EXPECT_EQ(30.0, getAdvance(unligated, "U+0915 U+094D | U+0915")); in TEST()
53 EXPECT_EQ(60.0, getAdvance(unligated, "U+0915 U+094D U+0915 |")); in TEST()
56 EXPECT_EQ(0.0, getAdvance(ligated, "| U+0915 U+094D U+0915")); in TEST()
57 EXPECT_EQ(30.0, getAdvance(ligated, "U+0915 | U+094D U+0915")); in TEST()
58 EXPECT_EQ(30.0, getAdvance(ligated, "U+0915 U+094D | U+0915")); in TEST()
59 EXPECT_EQ(30.0, getAdvance(ligated, "U+0915 U+094D U+0915 |")); in TEST()