Home | History | Annotate | Download | only in unittest

Lines Matching refs:Range

21 #include "minikin/Range.h"
36 BidiText bidiText(text, Range(0, ltrLength), Bidi::LTR);
39 EXPECT_EQ(Range(0, ltrLength), (*it).range);
45 BidiText bidiText(text, Range(0, ltrLength), Bidi::RTL);
48 EXPECT_EQ(Range(0, ltrLength), (*it).range);
54 BidiText bidiText(text, Range(0, ltrLength), Bidi::DEFAULT_LTR);
57 EXPECT_EQ(Range(0, ltrLength), (*it).range);
63 BidiText bidiText(text, Range(0, ltrLength), Bidi::DEFAULT_RTL);
66 EXPECT_EQ(Range(0, ltrLength), (*it).range);
72 BidiText bidiText(text, Range(0, ltrLength), Bidi::FORCE_LTR);
75 EXPECT_EQ(Range(0, ltrLength), (*it).range);
81 BidiText bidiText(text, Range(0, ltrLength), Bidi::FORCE_RTL);
84 EXPECT_EQ(Range(0, ltrLength), (*it).range);
95 BidiText bidiText(text, Range(0, rtlLength), Bidi::LTR);
98 EXPECT_EQ(Range(0, rtlLength), (*it).range);
104 BidiText bidiText(text, Range(0, rtlLength), Bidi::RTL);
107 EXPECT_EQ(Range(0, rtlLength), (*it).range);
113 BidiText bidiText(text, Range(0, rtlLength), Bidi::DEFAULT_LTR);
116 EXPECT_EQ(Range(0, rtlLength), (*it).range);
122 BidiText bidiText(text, Range(0, rtlLength), Bidi::DEFAULT_RTL);
125 EXPECT_EQ(Range(0, rtlLength), (*it).range);
131 BidiText bidiText(text, Range(0, rtlLength), Bidi::FORCE_LTR);
134 EXPECT_EQ(Range(0, rtlLength), (*it).range);
140 BidiText bidiText(text, Range(0, rtlLength), Bidi::FORCE_RTL);
143 EXPECT_EQ(Range(0, rtlLength), (*it).range);
157 BidiText bidiText(text, Range(0, text.size()), Bidi::LTR);
160 EXPECT_EQ(Range(0, ltrLength), (*it).range);
164 EXPECT_EQ(Range(ltrLength, ltrLength + rtlLength), (*it).range);
172 BidiText bidiText(text, Range(0, text.size()), Bidi::RTL);
175 EXPECT_EQ(Range(ltrLength, ltrLength + rtlLength), (*it).range);
179 EXPECT_EQ(Range(0, ltrLength), (*it).range);
187 BidiText bidiText(text, Range(0, text.size()), Bidi::DEFAULT_LTR);
190 EXPECT_EQ(Range(0, ltrLength), (*it).range);
194 EXPECT_EQ(Range(ltrLength, ltrLength + rtlLength), (*it).range);
202 BidiText bidiText(text, Range(0, text.size()), Bidi::DEFAULT_RTL);
205 EXPECT_EQ(Range(0, ltrLength), (*it).range);
209 EXPECT_EQ(Range(ltrLength, ltrLength + rtlLength), (*it).range);
217 BidiText bidiText(text, Range(0, text.size()), Bidi::FORCE_LTR);
220 EXPECT_EQ(Range(0, ltrLength + rtlLength), (*it).range);
228 BidiText bidiText(text, Range(0, text.size()), Bidi::FORCE_RTL);
231 EXPECT_EQ(Range(0, ltrLength + rtlLength), (*it).range);
245 BidiText bidiText(text, Range(0, text.size()), Bidi::LTR);
248 EXPECT_EQ(Range(0, rtlLength), (*it).range);
252 EXPECT_EQ(Range(rtlLength, ltrLength + rtlLength), (*it).range);
260 BidiText bidiText(text, Range(0, text.size()), Bidi::RTL);
263 EXPECT_EQ(Range(rtlLength, ltrLength + rtlLength), (*it).range);
267 EXPECT_EQ(Range(0, rtlLength), (*it).range);
275 BidiText bidiText(text, Range(0, text.size()), Bidi::DEFAULT_LTR);
278 EXPECT_EQ(Range(rtlLength, ltrLength + rtlLength), (*it).range);
282 EXPECT_EQ(Range(0, rtlLength), (*it).range);
290 BidiText bidiText(text, Range(0, text.size()), Bidi::DEFAULT_RTL);
293 EXPECT_EQ(Range(rtlLength, ltrLength + rtlLength), (*it).range);
297 EXPECT_EQ(Range(0, rtlLength), (*it).range);
305 BidiText bidiText(text, Range(0, text.size()), Bidi::FORCE_LTR);
308 EXPECT_EQ(Range(0, ltrLength + rtlLength), (*it).range);
316 BidiText bidiText(text, Range(0, text.size()), Bidi::FORCE_RTL);
319 EXPECT_EQ(Range(0, ltrLength + rtlLength), (*it).range);
334 BidiText bidiText(text, Range(0, text.size()), Bidi::LTR);
337 EXPECT_EQ(Range(0, ltr1Length), (*it).range);
341 EXPECT_EQ(Range(ltr1Length, ltr1Length + rtlLength), (*it).range);
345 EXPECT_EQ(Range(ltr1Length + rtlLength, ltr1Length + rtlLength + ltr2Length), (*it).range);
353 BidiText bidiText(text, Range(0, text.size()), Bidi::RTL);
356 EXPECT_EQ(Range(ltr1Length + rtlLength, text.size()), (*it).range);
360 EXPECT_EQ(Range(ltr1Length, ltr1Length + rtlLength), (*it).range);
364 EXPECT_EQ(Range(0, ltr1Length), (*it).range);
372 BidiText bidiText(text, Range(0, text.size()), Bidi::DEFAULT_LTR);
375 EXPECT_EQ(Range(0, ltr1Length), (*it).range);
379 EXPECT_EQ(Range(ltr1Length, ltr1Length + rtlLength), (*it).range);
383 EXPECT_EQ(Range(ltr1Length + rtlLength, ltr1Length + rtlLength + ltr2Length), (*it).range);
391 BidiText bidiText(text, Range(0, text.size()), Bidi::DEFAULT_RTL);
394 EXPECT_EQ(Range(0, ltr1Length), (*it).range);
398 EXPECT_EQ(Range(ltr1Length, ltr1Length + rtlLength), (*it).range);
402 EXPECT_EQ(Range(ltr1Length + rtlLength, ltr1Length + rtlLength + ltr2Length), (*it).range);
410 BidiText bidiText(text, Range(0, text.size()), Bidi::FORCE_LTR);
413 EXPECT_EQ(Range(0, ltr1Length + rtlLength + ltr2Length), (*it).range);
421 BidiText bidiText(text, Range(0, text.size()), Bidi::FORCE_RTL);
424 EXPECT_EQ(Range(0, ltr1Length + rtlLength + ltr2Length), (*it).range);
439 BidiText bidiText(text, Range(0, text.size()), Bidi::LTR);
442 EXPECT_EQ(Range(0, rtl1Length), (*it).range);
446 EXPECT_EQ(Range(rtl1Length, ltrLength + rtl1Length), (*it).range);
450 EXPECT_EQ(Range(rtl1Length + ltrLength, text.size()), (*it).range);
458 BidiText bidiText(text, Range(0, text.size()), Bidi::RTL);
461 EXPECT_EQ(Range(rtl1Length + ltrLength, text.size()), (*it).range);
465 Range(rtl1Length, ltrLength + rtl1Length), (*it).range);
469 EXPECT_EQ(Range(0, rtl1Length), (*it).range);
477 BidiText bidiText(text, Range(0, text.size()), Bidi::DEFAULT_LTR);
480 EXPECT_EQ(Range(rtl1Length + ltrLength, text.size()), (*it).range);
484 EXPECT_EQ(Range(rtl1Length, ltrLength + rtl1Length), (*it).range);
488 EXPECT_EQ(Range(0, rtl1Length), (*it).range);
496 BidiText bidiText(text, Range(0, text.size()), Bidi::DEFAULT_RTL);
499 EXPECT_EQ(Range(rtl1Length + ltrLength, text.size()), (*it).range);
503 EXPECT_EQ(Range(rtl1Length, ltrLength + rtl1Length), (*it).range);
507 EXPECT_EQ(Range(0, rtl1Length), (*it).range);
515 BidiText bidiText(text, Range(0, text.size()), Bidi::FORCE_LTR);
518 EXPECT_EQ(Range(0, rtl1Length + ltrLength + rtl2Length), (*it).range);
526 BidiText bidiText(text, Range(0, text.size()), Bidi::FORCE_RTL);
529 EXPECT_EQ(Range(0, rtl1Length + ltrLength + rtl2Length), (*it).range);