Lines Matching refs:result
51 std::vector<HyphenationType> result; in TEST() local
52 hyphenator->hyphenate(word, &result); in TEST()
53 EXPECT_EQ((size_t)5, result.size()); in TEST()
54 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
55 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
56 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN, result[2]); in TEST()
57 EXPECT_EQ(HyphenationType::DONT_BREAK, result[3]); in TEST()
58 EXPECT_EQ(HyphenationType::DONT_BREAK, result[4]); in TEST()
65 std::vector<HyphenationType> result; in TEST() local
66 hyphenator->hyphenate(word, &result); in TEST()
67 EXPECT_EQ((size_t)5, result.size()); in TEST()
68 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
69 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
70 EXPECT_EQ(HyphenationType::DONT_BREAK, result[2]); in TEST()
71 EXPECT_EQ(HyphenationType::BREAK_AND_REPLACE_WITH_HYPHEN, result[3]); in TEST()
72 EXPECT_EQ(HyphenationType::DONT_BREAK, result[4]); in TEST()
79 std::vector<HyphenationType> result; in TEST() local
80 hyphenator->hyphenate(word, &result); in TEST()
81 EXPECT_EQ((size_t)3, result.size()); in TEST()
82 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
83 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
84 EXPECT_EQ(HyphenationType::DONT_BREAK, result[2]); in TEST()
91 std::vector<HyphenationType> result; in TEST() local
92 hyphenator->hyphenate(word, &result); in TEST()
93 EXPECT_EQ((size_t)3, result.size()); in TEST()
94 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
95 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
96 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN_AT_NEXT_LINE, result[2]); in TEST()
103 std::vector<HyphenationType> result; in TEST() local
104 hyphenator->hyphenate(word, &result); in TEST()
105 EXPECT_EQ((size_t)3, result.size()); in TEST()
106 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
107 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
108 EXPECT_EQ(HyphenationType::BREAK_AND_DONT_INSERT_HYPHEN, result[2]); in TEST()
116 std::vector<HyphenationType> result; in TEST() local
117 hyphenator->hyphenate(word, &result); in TEST()
118 EXPECT_EQ((size_t)3, result.size()); in TEST()
119 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
120 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
121 EXPECT_EQ(HyphenationType::BREAK_AND_DONT_INSERT_HYPHEN, result[2]); in TEST()
129 std::vector<HyphenationType> result; in TEST() local
130 hyphenator->hyphenate(word, &result); in TEST()
131 EXPECT_EQ((size_t)3, result.size()); in TEST()
132 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
133 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
134 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN_AT_NEXT_LINE, result[2]); in TEST()
141 std::vector<HyphenationType> result; in TEST() local
142 hyphenator->hyphenate(word, &result); in TEST()
143 EXPECT_EQ((size_t)3, result.size()); in TEST()
144 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
145 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
146 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN, result[2]); in TEST()
153 std::vector<HyphenationType> result; in TEST() local
154 hyphenator->hyphenate(word, &result); in TEST()
155 EXPECT_EQ((size_t)2, result.size()); in TEST()
156 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
157 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
164 std::vector<HyphenationType> result; in TEST() local
165 hyphenator->hyphenate(word, &result); in TEST()
166 EXPECT_EQ((size_t)3, result.size()); in TEST()
167 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
168 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
169 EXPECT_EQ(HyphenationType::BREAK_AND_DONT_INSERT_HYPHEN, result[2]); in TEST()
177 std::vector<HyphenationType> result; in TEST() local
178 hyphenator->hyphenate(word, &result); in TEST()
179 EXPECT_EQ((size_t)5, result.size()); in TEST()
180 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
181 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
182 EXPECT_EQ(HyphenationType::BREAK_AND_DONT_INSERT_HYPHEN, result[2]); in TEST()
183 EXPECT_EQ(HyphenationType::BREAK_AND_DONT_INSERT_HYPHEN, result[3]); in TEST()
184 EXPECT_EQ(HyphenationType::DONT_BREAK, result[4]); in TEST()
191 std::vector<HyphenationType> result; in TEST() local
192 hyphenator->hyphenate(word, &result); in TEST()
193 EXPECT_EQ((size_t)3, result.size()); in TEST()
194 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
195 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
196 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_ARMENIAN_HYPHEN, result[2]); in TEST()
204 std::vector<HyphenationType> result; in TEST() local
205 hyphenator->hyphenate(word, &result); in TEST()
206 EXPECT_EQ((size_t)3, result.size()); in TEST()
207 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
208 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
209 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN, result[2]); in TEST()
217 std::vector<HyphenationType> result; in TEST() local
218 hyphenator->hyphenate(word, &result); in TEST()
219 EXPECT_EQ((size_t)3, result.size()); in TEST()
220 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
221 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
222 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN_AND_ZWJ, result[2]); in TEST()
230 std::vector<HyphenationType> result; in TEST() local
231 hyphenator->hyphenate(word, &result); in TEST()
232 EXPECT_EQ((size_t)3, result.size()); in TEST()
233 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
234 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
235 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN, result[2]); in TEST()
242 std::vector<HyphenationType> result; in TEST() local
243 hyphenator->hyphenate(word, &result); in TEST()
244 EXPECT_EQ((size_t)5, result.size()); in TEST()
245 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
246 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
247 EXPECT_EQ(HyphenationType::DONT_BREAK, result[2]); in TEST()
248 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN_AND_ZWJ, result[3]); in TEST()
249 EXPECT_EQ(HyphenationType::DONT_BREAK, result[4]); in TEST()
257 std::vector<HyphenationType> result; in TEST() local
258 hyphenator->hyphenate(word, &result); in TEST()
259 EXPECT_EQ((size_t)4, result.size()); in TEST()
260 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
261 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
262 EXPECT_EQ(HyphenationType::DONT_BREAK, result[2]); in TEST()
263 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN, result[3]); in TEST()
271 std::vector<HyphenationType> result; in TEST() local
272 hyphenator->hyphenate(word, &result); in TEST()
273 EXPECT_EQ((size_t)4, result.size()); in TEST()
274 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
275 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
276 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN, result[2]); in TEST()
277 EXPECT_EQ(HyphenationType::DONT_BREAK, result[3]); in TEST()
284 std::vector<HyphenationType> result; in TEST() local
285 hyphenator->hyphenate(word, &result); in TEST()
286 EXPECT_EQ((size_t)3, result.size()); in TEST()
287 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
288 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
289 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_UCAS_HYPHEN, result[2]); in TEST()
297 std::vector<HyphenationType> result; in TEST() local
298 hyphenator->hyphenate(word, &result); in TEST()
299 EXPECT_EQ((size_t)3, result.size()); in TEST()
300 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
301 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
302 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_UCAS_HYPHEN, result[2]); in TEST()
309 std::vector<HyphenationType> result; in TEST() local
310 hyphenator->hyphenate(word, &result); in TEST()
311 EXPECT_EQ((size_t)3, result.size()); in TEST()
312 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
313 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
314 EXPECT_EQ(HyphenationType::BREAK_AND_DONT_INSERT_HYPHEN, result[2]); in TEST()
321 std::vector<HyphenationType> result; in TEST() local
322 hyphenator->hyphenate(word, &result); in TEST()
323 EXPECT_EQ((size_t)3, result.size()); in TEST()
324 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
325 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()
326 EXPECT_EQ(HyphenationType::BREAK_AND_DONT_INSERT_HYPHEN, result[2]); in TEST()
334 std::vector<HyphenationType> result; in TEST() local
335 hyphenator->hyphenate(word, &result); in TEST()
336 EXPECT_EQ((size_t)2, result.size()); in TEST()
337 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST()
338 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST()