Lines Matching refs:getAdvance

25 float getAdvance(const float* advances, const char* src) {  in getAdvance()  function
46 EXPECT_EQ(0.0, getAdvance(unligated, "| 'f' 'i'")); in TEST()
47 EXPECT_EQ(30.0, getAdvance(unligated, "'f' | 'i'")); in TEST()
48 EXPECT_EQ(50.0, getAdvance(unligated, "'f' 'i' |")); in TEST()
51 EXPECT_EQ(0.0, getAdvance(ligated, "| 'f' 'i'")); in TEST()
52 EXPECT_EQ(20.0, getAdvance(ligated, "'f' | 'i'")); in TEST()
53 EXPECT_EQ(40.0, getAdvance(ligated, "'f' 'i' |")); in TEST()
58 EXPECT_EQ(0.0, getAdvance(unligated, "| 'f' 'i' U+2066 U+202C")); in TEST()
59 EXPECT_EQ(30.0, getAdvance(unligated, "'f' | 'i' U+2066 U+202C")); in TEST()
60 EXPECT_EQ(50.0, getAdvance(unligated, "'f' 'i' | U+2066 U+202C")); in TEST()
61 EXPECT_EQ(50.0, getAdvance(unligated, "'f' 'i' U+2066 | U+202C")); in TEST()
62 EXPECT_EQ(50.0, getAdvance(unligated, "'f' 'i' U+2066 U+202C |")); in TEST()
65 EXPECT_EQ(0.0, getAdvance(liagated, "| 'f' 'i' U+2066 U+202C")); in TEST()
66 EXPECT_EQ(20.0, getAdvance(liagated, "'f' | 'i' U+2066 U+202C")); in TEST()
67 EXPECT_EQ(40.0, getAdvance(liagated, "'f' 'i' | U+2066 U+202C")); in TEST()
68 EXPECT_EQ(40.0, getAdvance(liagated, "'f' 'i' U+2066 | U+202C")); in TEST()
69 EXPECT_EQ(40.0, getAdvance(liagated, "'f' 'i' U+2066 U+202C |")); in TEST()
75 EXPECT_EQ(0.0, getAdvance(unligated, "| U+0915 U+094D U+0915")); in TEST()
76 EXPECT_EQ(30.0, getAdvance(unligated, "U+0915 | U+094D U+0915")); in TEST()
77 EXPECT_EQ(30.0, getAdvance(unligated, "U+0915 U+094D | U+0915")); in TEST()
78 EXPECT_EQ(60.0, getAdvance(unligated, "U+0915 U+094D U+0915 |")); in TEST()
81 EXPECT_EQ(0.0, getAdvance(ligated, "| U+0915 U+094D U+0915")); in TEST()
82 EXPECT_EQ(30.0, getAdvance(ligated, "U+0915 | U+094D U+0915")); in TEST()
83 EXPECT_EQ(30.0, getAdvance(ligated, "U+0915 U+094D | U+0915")); in TEST()
84 EXPECT_EQ(30.0, getAdvance(ligated, "U+0915 U+094D U+0915 |")); in TEST()