164{
165 static const WCHAR test1[] = {
't',
'e',
's',
't',0};
166 static const itemTest t11[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1}};
167 static const itemTest t12[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
168
169 static const WCHAR test1b[] = {
' ',
' ',
' ',
' ',0};
170 static const itemTest t1b1[2] = {{{0,0,0,0,0,0},0,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
171 static const itemTest t1b2[2] = {{{0,0,0,0,0,0},0,1,1,1,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
172
173 static const WCHAR test1c[] = {
' ',
' ',
' ',
'1',
'2',
' ',0};
174 static const itemTest t1c1[2] = {{{0,0,0,0,0,0},0,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
175 static const itemTest t1c2[4] = {{{0,0,0,0,0,0},0,1,1,1,0,0,
FALSE},{{0,0,0,0,0,0},3,0,1,2,0,0,
FALSE},{{0,0,0,0,0,0},5,1,1,1,0,0,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
176
177
178 static const WCHAR test2[] = {
'1',
'2',
'3',
'-',
'5',
'2',0x064a,0x064f,0x0633,0x0627,0x0648,0x0650,0x064a,
'7',
'1',
'.',0};
179 static const itemTest t21[7] = {{{0,0,0,0,0,0},0,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},6,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},13,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},15,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},16,0,0,0,0,-1,
FALSE}};
180 static const itemTest t22[5] = {{{0,0,0,0,0,0},0,0,0,2,0,0,
FALSE},{{0,0,0,0,0,0},6,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},13,0,1,2,0,0,
FALSE},{{0,0,0,0,0,0},15,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},16,0,0,0,0,-1,
FALSE}};
181 static const itemTest t23[5] = {{{0,0,0,0,0,0},0,0,1,2,0,0,
FALSE},{{0,0,0,0,0,0},6,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},13,0,1,2,0,0,
FALSE},{{0,0,0,0,0,0},15,1,1,1,0,0,
FALSE},{{0,0,0,0,0,0},16,0,0,0,0,-1,
FALSE}};
182 static const itemTest t24[5] = {{{0,0,0,0,0,0},0,0,0,0,1,0,
FALSE},
183 {{0,0,0,0,0,0},6,0,0,0,1,
arab_tag,
FALSE},
184 {{0,0,0,0,0,0},13,0,1,0,1,0,
FALSE},
185 {{0,0,0,0,0,0},15,0,0,0,1,0,
FALSE},
186 {{0,0,0,0,0,0},16,0,0,0,0,-1,
FALSE}};
187
188 static const WCHAR test2b[] = {
'A',
'B',
'C',
'-',
'D',
'E',
'F',
' ',0x0621,0x0623,0x0624,0};
189 static const itemTest t2b1[5] = {{{0,0,0,0,0,0},0,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},8,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
190 static const itemTest t2b2[5] = {{{0,0,0,0,0,0},0,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,2,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},7,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
191 static const itemTest t2b3[3] = {{{0,0,0,0,0,0},0,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},7,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
192 static const itemTest t2b4[5] = {{{0,0,0,0,0,0},0,0,0,0,1,
latn_tag,
FALSE},
193 {{0,0,0,0,0,0},3,0,0,0,1,0,
FALSE},
194 {{0,0,0,0,0,0},4,0,0,0,1,
latn_tag,
FALSE},
195 {{0,0,0,0,0,0},8,0,0,0,1,
arab_tag,
FALSE},
196 {{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
197 static const int b2[2] = {4,4};
198
199
200 static const WCHAR test2c[] = {
' ',0x0621,0x0623,0x0624,
'A',
'B',
'C',
'-',
'D',
'E',
'F',0};
201 static const itemTest t2c1[5] = {{{0,0,0,0,0,0},0,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},7,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},8,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
202 static const itemTest t2c2[6] = {{{0,0,0,0,0,0},0,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},1,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},7,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},8,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
203 static const itemTest t2c3[5] = {{{0,0,0,0,0,0},0,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},7,0,0,2,0,0,
FALSE},{{0,0,0,0,0,0},8,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
204 static const itemTest t2c4[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
205 static const itemTest t2c5[5] = {{{0,0,0,0,0,0},0,0,0,0,1,
arab_tag,
FALSE},
206 {{0,0,0,0,0,0},4,0,0,0,1,
latn_tag,
FALSE},
207 {{0,0,0,0,0,0},7,0,0,0,1,0,
FALSE},
208 {{0,0,0,0,0,0},8,0,0,0,1,
latn_tag,
FALSE},
209 {{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
210
211
212 static const WCHAR test2d[] = {
'A',
'B',
'C',
'-',
'D',
'E',
'F',0x0621,0x0623,0x0624,
' ',0};
213 static const itemTest t2d1[5] = {{{0,0,0,0,0,0},0,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},7,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
214 static const itemTest t2d2[6] = {{{0,0,0,0,0,0},0,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},7,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},10,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
215 static const itemTest t2d3[5] = {{{0,0,0,0,0,0},0,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,2,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},7,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
216 static const itemTest t2d4[3] = {{{0,0,0,0,0,0},0,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},7,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
217 static const itemTest t2d5[5] = {{{0,0,0,0,0,0},0,0,0,0,1,
latn_tag,
FALSE},
218 {{0,0,0,0,0,0},3,0,0,0,1,0,
FALSE},
219 {{0,0,0,0,0,0},4,0,0,0,1,
latn_tag,
FALSE},
220 {{0,0,0,0,0,0},7,0,0,0,1,
arab_tag,
FALSE},
221 {{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
222
223
225{0x0e04,0x0e27,0x0e32,0x0e21,0x0e1e,0x0e22,0x0e32,0x0e22,0x0e32, 0x0e21
226,0x0e2d,0x0e22,0x0e39,0x0e48,0x0e17,0x0e35,0x0e48,0x0e44,0x0e2b,0x0e19
227,0x0e04,0x0e27,0x0e32,0x0e21,0x0e2a, 0x0e33,0x0e40,0x0e23,0x0e47,0x0e08,
228 0x0e2d,0x0e22,0x0e39,0x0e48,0x0e17,0x0e35,0x0e48,0x0e19,0x0e31,0x0e48,0x0e19,0};
229
230 static const itemTest t31[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
thai_tag,
FALSE},{{0,0,0,0,0,0},41,0,0,0,0,-1,
FALSE}};
231 static const itemTest t32[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
thai_tag,
FALSE},{{0,0,0,0,0,0},41,0,0,0,0,-1,
FALSE}};
232
233 static const WCHAR test4[] = {
'1',
'2',
'3',
'-',
'5',
'2',
' ',
'i',
's',
' ',
'7',
'1',
'.',0};
234
235 static const itemTest t41[6] = {{{0,0,0,0,0,0},0,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},7,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},10,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},12,0,0,0,0,-1,
FALSE}};
236 static const itemTest t42[5] = {{{0,0,0,0,0,0},0,0,1,2,0,0,
FALSE},{{0,0,0,0,0,0},6,1,1,1,0,0,
FALSE},{{0,0,0,0,0,0},7,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},10,0,0,2,0,0,
FALSE},{{0,0,0,0,0,0},12,0,0,0,0,-1,
FALSE}};
237 static const itemTest t43[4] = {{{0,0,0,0,0,0},0,0,1,2,0,0,
FALSE},{{0,0,0,0,0,0},6,1,1,1,0,0,
FALSE},{{0,0,0,0,0,0},7,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},12,0,0,0,0,-1,
FALSE}};
238 static const int b43[2] = {4,4};
239
240
241 static const WCHAR test5[] = {0x0627,0x0644,0x0635,0x0651,0x0650,0x062d,0x0629,0x064f,
' ',0x062a,0x064e,
242 0x0627,0x062c,0x064c,' ',0x0639,0x064e,0x0644,0x0649,' ',
243 0x0631,0x064f,0x0624,0x0648,0x0633,0x0650,' ',0x0627,0x0644,
244 0x0623,0x0635,0x0650,0x062d,0x0651,0x064e,0x0627,0x0621,0x0650,0};
245 static const itemTest t51[2] = {{{0,0,0,0,0,0},0,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},38,0,0,0,0,-1,
FALSE}};
246 static const itemTest t52[2] = {{{0,0,0,0,0,0},0,0,0,0,1,
arab_tag,
FALSE},
247 {{0,0,0,0,0,0},38,0,0,0,0,-1,
FALSE}};
248
249
250
251 static const WCHAR test6[] = {0x05e9, 0x05dc, 0x05d5, 0x05dd,
'.',0};
252 static const itemTest t61[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
TRUE,{-1,0,0,0,-1,-1}},{{0,0,0,0,0,0},4,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
253 static const itemTest t62[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},{{0,0,0,0,0,0},4,1,1,1,0,0,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
254 static const itemTest t63[2] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
255 static const itemTest t64[3] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
256 {{0,0,0,0,0,0},4,0,0,0,1,0,
FALSE},
257 {{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
258
259 static const int b63[2] = {2,2};
260 static const WCHAR test7[] = {
'p',
'a',
'r',
't',
' ',
'o',
'n',
'e',
' ',0x05d7, 0x05dc, 0x05e7,
' ', 0x05e9, 0x05ea, 0x05d9, 0x05d9, 0x05dd,
' ',
'p',
'a',
'r',
't',
' ',
't',
'h',
'r',
'e',
'e', 0};
261 static const itemTest t71[4] = {{{0,0,0,0,0,0},0,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},9,1,1,1,0,
hebr_tag,
TRUE,{-1,0,0,0,-1,-1}},{{0,0,0,0,0,0},19,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},29,0,0,0,0,-1,
FALSE}};
262 static const itemTest t72[4] = {{{0,0,0,0,0,0},0,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},9,1,1,1,0,
hebr_tag,
FALSE},{{0,0,0,0,0,0},18,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},29,0,0,0,0,-1,
FALSE}};
263 static const itemTest t73[4] = {{{0,0,0,0,0,0},0,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},8,1,1,1,0,
hebr_tag,
FALSE},{{0,0,0,0,0,0},19,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},29,0,0,0,0,-1,
FALSE}};
264 static const itemTest t74[4] = {{{0,0,0,0,0,0},0,0,0,0,1,
latn_tag,
FALSE},
265 {{0,0,0,0,0,0},9,0,0,0,1,
hebr_tag,
FALSE},
266 {{0,0,0,0,0,0},19,0,0,0,1,
latn_tag,
FALSE},
267 {{0,0,0,0,0,0},29,0,0,0,0,-1,
FALSE}};
268
269 static const WCHAR test8[] = {0x0633, 0x0644, 0x0627, 0x0645,0};
270 static const itemTest t81[2] = {{{0,0,0,0,0,0},0,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
271 static const itemTest t82[2] = {{{0,0,0,0,0,0},0,0,0,0,1,
arab_tag,
FALSE},
272 {{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
273
274
275 static const WCHAR test9[] = {0x0710, 0x0712, 0x0712, 0x0714,
'.',0};
276 static const itemTest t91[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
syrc_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
277 static const itemTest t92[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
syrc_tag},{{0,0,0,0,0,0},4,1,1,1,0,0,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
278 static const itemTest t93[2] = {{{0,0,0,0,0,0},0,1,1,1,0,
syrc_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
279 static const itemTest t94[3] = {{{0,0,0,0,0,0},0,0,0,0,1,
syrc_tag,
FALSE},
280 {{0,0,0,0,0,0},4,0,0,0,1,0,
FALSE},
281 {{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
282 static const int b93[2] = {2,2};
283
284 static const WCHAR test10[] = {0x0717, 0x0718, 0x071a, 0x071b,0};
285 static const itemTest t101[2] = {{{0,0,0,0,0,0},0,1,1,1,0,
syrc_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
286 static const itemTest t102[2] = {{{0,0,0,0,0,0},0,0,0,0,1,
syrc_tag,
FALSE},
287 {{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
288
289
290 static const WCHAR test11[] = {0x0926, 0x0947, 0x0935, 0x0928, 0x093e, 0x0917, 0x0930, 0x0940};
291 static const itemTest t111[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
deva_tag,
FALSE},{{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
292 static const itemTest t112[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
deva_tag,
FALSE},{{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
293
294
295 static const WCHAR test12[] = {0x09ac, 0x09be, 0x0982, 0x09b2, 0x09be};
296 static const itemTest t121[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
beng_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
297 static const itemTest t122[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
beng_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
298
299
300 static const WCHAR test13[] = {0x0a17, 0x0a41, 0x0a30, 0x0a2e, 0x0a41, 0x0a16, 0x0a40};
301 static const itemTest t131[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
guru_tag,
FALSE},{{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
302 static const itemTest t132[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
guru_tag,
FALSE},{{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
303
304
305 static const WCHAR test14[] = {0x0a97, 0x0ac1, 0x0a9c, 0x0ab0, 0x0abe, 0x0aa4, 0x0ac0};
306 static const itemTest t141[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
gujr_tag,
FALSE},{{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
307 static const itemTest t142[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
gujr_tag,
FALSE},{{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
308
309
310 static const WCHAR test15[] = {0x0b13, 0x0b21, 0x0b3c, 0x0b3f, 0x0b06};
311 static const itemTest t151[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
orya_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
312 static const itemTest t152[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
orya_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
313
314
315 static const WCHAR test16[] = {0x0ba4, 0x0bae, 0x0bbf, 0x0bb4, 0x0bcd};
316 static const itemTest t161[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
taml_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
317 static const itemTest t162[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
taml_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
318
319
320 static const WCHAR test17[] = {0x0c24, 0x0c46, 0x0c32, 0x0c41, 0x0c17, 0x0c41};
321 static const itemTest t171[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
telu_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
322 static const itemTest t172[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
telu_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
323
324
325 static const WCHAR test18[] = {0x0c95, 0x0ca8, 0x0ccd, 0x0ca8, 0x0ca1};
326 static const itemTest t181[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
knda_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
327 static const itemTest t182[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
knda_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
328
329
330 static const WCHAR test19[] = {0x0d2e, 0x0d32, 0x0d2f, 0x0d3e, 0x0d33, 0x0d02};
331 static const itemTest t191[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
mlym_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
332 static const itemTest t192[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
mlym_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
333
334
335 static const WCHAR test20[] = {0x0309,
'a',
'b',
'c',
'd',0};
336 static const itemTest t201[3] = {{{0,0,0,0,0,0},0,0,0,0,0x0,0,
FALSE},{{0,0,0,0,0,0},1,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
337 static const itemTest t202[3] = {{{0,0,0,0,0,0},0,0,0,2,0,0,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},1,0,0,2,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
338
339 static const WCHAR test21[] = {0x0710, 0x0712, 0x0308, 0x0712, 0x0714,0};
340 static const itemTest t211[2] = {{{0,0,0,0,0,0},0,1,1,1,0,
syrc_tag,
FALSE},{{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
341 static const itemTest t212[2] = {{{0,0,0,0,0,0},0,0,0,0,1,
syrc_tag,
FALSE},
342 {{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
343
344
345 static const WCHAR test22[] = {
'#',
'$',
',',
'!',
'\"',
'*',0};
346 static const itemTest t221[3] = {{{0,0,0,0,0,0},0,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
347 static const itemTest t222[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},3,1,1,1,0,0,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
348 static const itemTest t223[2] = {{{0,0,0,0,0,0},0,1,1,1,0,
latn_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
349 static const int b222[2] = {1,1};
350 static const int b223[2] = {2,2};
351
352
353 static const WCHAR test23[] = {
'1',
'2',
'3',0x00b2,0x00b3,0x2070,0};
354 static const itemTest t231[3] = {{{0,0,0,0,0,0},0,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
355 static const itemTest t232[3] = {{{0,0,0,0,0,0},0,0,1,2,0,0,
FALSE},{{0,0,0,0,0,0},3,0,1,2,0,0,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
356
357
358 static const WCHAR test24[] = {0x1019,0x103c,0x1014,0x103a,0x1019,0x102c,0x1021,0x1000,0x1039,0x1001,0x101b,0x102c};
359 static const itemTest t241[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
mymr_tag,
FALSE},{{0,0,0,0,0,0},12,0,0,0,0,-1,
FALSE}};
360 static const itemTest t242[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
mymr_tag,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},12,0,0,0,0,-1,
FALSE}};
361
362
363 static const WCHAR test25[] = {0x1956,0x196d,0x1970,0x1956,0x196c,0x1973,0x1951,0x1968,0x1952,0x1970};
364 static const itemTest t251[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
tale_tag,
TRUE,{-1,-1,-1,-1,-1,
latn_tag}},{{0,0,0,0,0,0},10,0,0,0,0,-1,
FALSE}};
365 static const itemTest t252[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
tale_tag,
TRUE,{-1,1,1,1,-1,
latn_tag}},{{0,0,0,0,0,0},10,0,0,0,0,-1,
FALSE}};
366
367
368 static const WCHAR test26[] = {0x1992,0x19c4};
369 static const itemTest t261[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
talu_tag,
TRUE,{-1,-1,-1,-1,-1,
latn_tag}},{{0,0,0,0,0,0},2,0,0,0,0,-1,
FALSE}};
370 static const itemTest t262[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
talu_tag,
TRUE,{-1,1,1,1,-1,
latn_tag}},{{0,0,0,0,0,0},2,0,0,0,0,-1,
FALSE}};
371
372
373 static const WCHAR test27[] = {0x1781,0x17c1,0x1798,0x179a,0x1797,0x17b6,0x179f,0x17b6};
374 static const itemTest t271[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
khmr_tag,
FALSE},{{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
375 static const itemTest t272[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
khmr_tag,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
376
377
378 static const WCHAR test28[] = {0x8bed,0x7d20,0x6587,0x5b57};
379 static const itemTest t281[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
hani_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
380 static const itemTest t282[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
hani_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
381
382
383 static const WCHAR test29[] = {0x2ff0,0x2ff3,0x2ffb,0x2ff0,0x65e5,0x65e5,0x5de5,0x7f51,0x4e02,0x4e5e};
384 static const itemTest t291[3] = {{{0,0,0,0,0,0},0,0,0,0,0,
hani_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,
hani_tag,
FALSE},{{0,0,0,0,0,0},10,0,0,0,0,-1,
FALSE}};
385 static const itemTest t292[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
hani_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,2,0,
hani_tag,
FALSE},{{0,0,0,0,0,0},10,0,0,0,0,-1,
FALSE}};
386
387
388 static const WCHAR test30[] = {0x3113,0x3128,0x3127,0x3123,0x3108,0x3128,0x310f,0x3120};
389 static const itemTest t301[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
bopo_tag,
FALSE},{{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
390 static const itemTest t302[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
bopo_tag,
FALSE},{{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
391
392
393 static const WCHAR test31[] = {0x3072,0x3089,0x304b,0x306a,0x30ab,0x30bf,0x30ab,0x30ca};
394 static const itemTest t311[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
kana_tag,
FALSE},{{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
395 static const itemTest t312[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
kana_tag,
FALSE},{{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
396 static const int b311[2] = {2,2};
397 static const int b312[2] = {2,2};
398
399
400 static const WCHAR test32[] = {0xd55c,0xad6d,0xc5b4};
401 static const itemTest t321[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
hang_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,-1,
FALSE}};
402 static const itemTest t322[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
hang_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,-1,
FALSE}};
403
404
405 static const WCHAR test33[] = {0xa188,0xa320,0xa071,0xa0b7};
406 static const itemTest t331[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
yi_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
407 static const itemTest t332[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
yi_tag,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
408
409
410 static const WCHAR test34[] = {0x130d,0x12d5,0x12dd};
411 static const itemTest t341[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
ethi_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,-1,
FALSE}};
412 static const itemTest t342[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
ethi_tag,
FALSE},{{0,0,0,0,0,0},3,0,0,0,0,-1,
FALSE}};
413 static const int b342[2] = {2,2};
414
415
416 static const WCHAR test35[] = {0x182e,0x1823,0x1829,0x182d,0x1823,0x182f,0x0020,0x182a,0x1822,0x1834,0x1822,0x182d,0x180c};
417 static const itemTest t351[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
mong_tag,
FALSE},{{0,0,0,0,0,0},13,0,0,0,0,-1,
FALSE}};
418 static const int b351[2] = {2,2};
419 static const itemTest t352[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
mong_tag,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},13,0,0,0,0,-1,
FALSE}};
420 static const int b352[2] = {2,3};
421 static const itemTest t353[2] = {{{0,0,0,0,1,0},0,0,0,0,1,
mong_tag,
TRUE,{-1,-1,-1,-1,0,0}},{{0,0,0,0,0,0},13,0,0,0,0,-1,
FALSE}};
422
423
424 static const WCHAR test36[] = {0x2d5c,0x2d49,0x2d3c,0x2d49,0x2d4f,0x2d30,0x2d56};
425 static const itemTest t361[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
tfng_tag,
TRUE,{-1,-1,-1,-1,-1,
latn_tag}},{{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
426 static const itemTest t362[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
tfng_tag,
TRUE,{-1,1,1,1,-1,
latn_tag}},{{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
427
428
429 static const WCHAR test37[] = {0x07d2,0x07de,0x07cf};
430 static const itemTest t371[2] = {{{0,0,0,0,0,0},0,1,1,1,0,
nko_tag,
TRUE,{-1,0,0,0,-1,
arab_tag}},{{0,0,0,0,0,0},3,0,0,0,0,-1,
FALSE}};
431 static const itemTest t372[2] = {{{0,0,0,0,0,0},0,1,1,1,0,
nko_tag,
TRUE,{-1,0,0,2,-1,
arab_tag}},{{0,0,0,0,0,0},3,0,0,0,0,-1,
FALSE}};
432 static const itemTest t373[2] = {{{0,0,0,0,0,0},0,0,0,0,1,
nko_tag,
TRUE,{-1,-1,-1,2,0,
arab_tag}}, {{0,0,0,0,0,0},3,0,0,0,0,-1,
FALSE}};
433
434
435 static const WCHAR test38[] = {0xa559,0xa524};
436 static const itemTest t381[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
vai_tag,
TRUE,{-1,-1,-1,-1,-1,
latn_tag}},{{0,0,0,0,0,0},2,0,0,0,0,-1,
FALSE}};
437 static const itemTest t382[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
vai_tag,
TRUE,{-1,1,1,1,-1,
latn_tag}},{{0,0,0,0,0,0},2,0,0,0,0,-1,
FALSE}};
438
439
440 static const WCHAR test39[] = {0x13e3,0x13b3,0x13a9,0x0020,0x13a6,0x13ec,0x13c2,0x13af,0x13cd,0x13d7};
441 static const itemTest t391[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
cher_tag,
FALSE},{{0,0,0,0,0,0},10,0,0,0,0,-1,
FALSE}};
442 static const itemTest t392[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
cher_tag,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},10,0,0,0,0,-1,
FALSE}};
443
444
445 static const WCHAR test40[] = {0x1403,0x14c4,0x1483,0x144e,0x1450,0x1466};
446 static const itemTest t401[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
cans_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
447 static const itemTest t402[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
cans_tag,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
448
449
450 static const WCHAR test41[] = {0x169b,0x1691,0x168c,0x1690,0x168b,0x169c};
451 static const itemTest t411[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
ogam_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
452 static const itemTest t412[4] = {{{0,0,0,0,0,0},0,1,1,1,0,
ogam_tag,
FALSE},{{0,0,0,0,0,0},1,0,0,2,0,
ogam_tag,
FALSE},{{0,0,0,0,0,0},5,1,1,1,0,
ogam_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
453 static const int b412[2] = {1,1};
454
455
456 static const WCHAR test42[] = {0x16a0,0x16a1,0x16a2,0x16a3,0x16a4,0x16a5};
457 static const itemTest t421[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
runr_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
458 static const itemTest t422[4] = {{{0,0,0,0,0,0},0,0,0,2,0,
runr_tag,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
459
460
461 static const WCHAR test43[] = {0x280f,0x2817,0x2811,0x280d,0x280a,0x2811,0x2817};
462 static const itemTest t431[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
brai_tag,
FALSE},{{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
463 static const itemTest t432[4] = {{{0,0,0,0,0,0},0,0,0,2,0,
brai_tag,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
464
465
466 static const WCHAR test44[] = {0xe000, 0xe001, 0xd800, 0xd801};
467 static const itemTest t441[3] = {{{0,0,0,0,0,0},0,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},2,0,0,0,0,0,
FALSE},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
468 static const itemTest t442[4] = {{{0,0,0,0,0,0},0,0,0,2,0,0,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},2,0,0,2,0,0,
TRUE,{-1,1,1,1,-1,-1}},{{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
469
470
471 static const WCHAR test45[] = {0xd801,0xdc19,0xd801,0xdc32,0xd801,0xdc4c,0xd801,0xdc3c,0xd801,0xdc32,0xd801,0xdc4b,0xd801,0xdc2f,0xd801,0xdc4c,0xd801,0xdc3b,0xd801,0xdc32,0xd801,0xdc4a,0xd801,0xdc28};
472 static const itemTest t451[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
dsrt_tag,
TRUE,{-1,-1,-1,-1,-1,0x0}},{{0,0,0,0,0,0},24,0,0,0,0,-1,
FALSE}};
473 static const itemTest t452[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
dsrt_tag,
TRUE,{-1,1,1,1,-1,0x0}},{{0,0,0,0,0,0},24,0,0,0,0,-1,
FALSE}};
474
475
476 static const WCHAR test46[] = {0xd801,0xdc8b,0xd801,0xdc98,0xd801,0xdc88,0xd801,0xdc91,0xd801,0xdc9b,0xd801,0xdc92,0xd801,0xdc95,0xd801,0xdc80};
477 static const itemTest t461[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
osma_tag,
TRUE,{-1,-1,-1,-1,-1,0x0}},{{0,0,0,0,0,0},16,0,0,0,0,-1,
FALSE}};
478 static const itemTest t462[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
osma_tag,
TRUE,{-1,1,1,1,-1,0x0}},{{0,0,0,0,0,0},16,0,0,0,0,-1,
FALSE}};
479
480
481 static const WCHAR test47[] = {0xd835,0xdc00,0xd835,0xdc35,0xd835,0xdc6a,0xd835,0xdc9f,0xd835,0xdcd4,0xd835,0xdd09,0xd835,0xdd3e,0xd835,0xdd73,0xd835,0xdda8,0xd835,0xdddd,0xd835,0xde12,0xd835,0xde47,0xd835,0xde7c};
482 static const itemTest t471[2] = {{{0,0,0,0,0,0},0,0,0,0,0,
math_tag,
TRUE,{-1,-1,-1,-1,-1,0x0}},{{0,0,0,0,0,0},26,0,0,0,0,-1,
FALSE}};
483 static const itemTest t472[2] = {{{0,0,0,0,0,0},0,0,0,2,0,
math_tag,
TRUE,{-1,1,1,1,-1,0x0}},{{0,0,0,0,0,0},26,0,0,0,0,-1,
FALSE}};
484
485
486
487 static const WCHAR test48[] = {0x05e9,
' ',
'1',
'2',
'3',
'.'};
488 static const itemTest t481[4] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
489 {{0,0,0,0,0},2,0,1,2,0,0,
FALSE},{{0,0,0,0,0},5,0,0,0,0,0,
FALSE},
490 {{0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
491 static const itemTest t482[4] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
492 {{0,0,0,0,0,0},2,0,1,0,1,0,
FALSE},
493 {{0,0,0,0,0,0},5,0,0,0,1,0,
FALSE},
494 {{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
495
496 static const WCHAR test49[] = {0x05e9,
' ',
'1',
'2',
'.',
'1',
'2'};
497 static const itemTest t491[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
498 {{0,0,0,0,0},2,0,1,2,0,0,
FALSE},{{0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
499 static const itemTest t492[3] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
500 {{0,0,0,0,0,0},2,0,1,0,1,0,
FALSE},
501 {{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
502
503 static const WCHAR test50[] = {0x05e9,
' ',
'.',
'1',
'2',
'3'};
504 static const itemTest t501[4] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
505 {{0,0,0,0,0},2,1,1,1,0,0,
FALSE},{{0,0,0,0,0},3,0,1,2,0,0,
FALSE},
506 {{0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
507 static const itemTest t502[4] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
508 {{0,0,0,0,0,0},2,0,0,0,1,0,
FALSE},
509 {{0,0,0,0,0,0},3,0,1,0,1,0,
FALSE},
510 {{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
511
512 static const WCHAR test51[] = {0x05e9,
' ',
'a',
'b',
'.',
'1',
'2'};
513 static const itemTest t511[5] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
514 {{0,0,0,0,0},1,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0},4,0,0,0,0,0,
FALSE},
515 {{0,0,0,0,0},5,0,0,2,0,0,
FALSE},{{0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
516 static const itemTest t512[5] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
517 {{0,0,0,0,0,0},2,0,0,0,1,
latn_tag,
FALSE},
518 {{0,0,0,0,0,0},4,0,0,0,1,0,
FALSE},
519 {{0,0,0,0,0,0},5,0,0,0,1,0,
FALSE},
520 {{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
521
522 static const WCHAR test52[] = {0x05e9,
' ',
'1',
'2',
'.',
'a',
'b'};
523 static const itemTest t521[5] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
524 {{0,0,0,0,0},2,0,1,2,0,0,
FALSE},{{0,0,0,0,0},4,0,0,0,0,0,
FALSE},
525 {{0,0,0,0,0},5,0,0,0,0,
latn_tag,
FALSE},{{0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
526 static const itemTest t522[5] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
527 {{0,0,0,0,0,0},2,0,1,0,1,0,
FALSE},
528 {{0,0,0,0,0,0},4,0,0,0,1,0,
FALSE},
529 {{0,0,0,0,0,0},5,0,0,0,1,
latn_tag,
FALSE},
530 {{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
531
532 static const WCHAR test53[] = {0x05e9,
' ',
'1',
'2',
'.',
'.',
'1',
'2'};
533 static const itemTest t531[5] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
534 {{0,0,0,0,0},2,0,1,2,0,0,
FALSE},{{0,0,0,0,0},4,1,1,1,0,0,
FALSE},
535 {{0,0,0,0,0},6,0,1,2,0,0,
FALSE},{{0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
536 static const itemTest t532[5] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
537 {{0,0,0,0,0,0},2,0,1,0,1,0,
FALSE},
538 {{0,0,0,0,0,0},4,0,0,0,1,0,
FALSE},
539 {{0,0,0,0,0,0},6,0,1,0,1,0,
FALSE},
540 {{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
541
542 static const WCHAR test54[] = {0x05e9,
' ',
'1',
'2',
'+',
'1',
'2'};
543 static const itemTest t541[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
544 {{0,0,0,0,0},2,0,1,2,0,0,
FALSE},{{0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
545 static const itemTest t542[3] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
546 {{0,0,0,0,0,0},2,0,1,0,1,0,
FALSE},
547 {{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
548 static const WCHAR test55[] = {0x05e9,
' ',
'1',
'2',
'+',
'+',
'1',
'2'};
549 static const itemTest t551[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
550 {{0,0,0,0,0},2,0,1,2,0,0,
FALSE},{{0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
551 static const itemTest t552[3] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
552 {{0,0,0,0,0,0},2,0,1,0,1,0,
FALSE},
553 {{0,0,0,0,0,0},8,0,0,0,0,-1,
FALSE}};
554
555
556 static const WCHAR test56[] = {0x0645, 0x06cc, 0x200c, 0x06a9, 0x0646, 0x0645};
557 static const itemTest t561[] = {{{0,0,0,0,0,0},0,1,1,1,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
558 static const itemTest t562[] = {{{0,0,0,0,0,0},0,0,0,0,1,
arab_tag,
FALSE},{{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
559
560
561 static const WCHAR test57[] = {0x06f1, 0x06f2, 0x066c, 0x06f3, 0x06f4, 0x06f5, 0x066c,
562 0x06f6, 0x06f7, 0x06f8, 0x066b, 0x06f9, 0x06f0};
563 static const itemTest t571[] = {{{0,0,0,0,0,0}, 0,0,1,2,0,
arab_tag,
FALSE},{{0,0,0,0,0,0}, 2,0,1,2,0,
arab_tag,
FALSE},
564 {{0,0,0,0,0,0}, 3,0,1,2,0,
arab_tag,
FALSE},{{0,0,0,0,0,0}, 6,0,1,2,0,
arab_tag,
FALSE},
565 {{0,0,0,0,0,0}, 7,0,1,2,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},10,0,1,2,0,
arab_tag,
FALSE},
566 {{0,0,0,0,0,0},11,0,1,2,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},13,0,0,0,0,-1,
FALSE}};
567 static const itemTest t572[] = {{{0,0,0,0,0,0}, 0,0,0,2,0,
arab_tag,
FALSE},{{0,0,1,0,0,0}, 2,0,1,2,0,
arab_tag,
FALSE},
568 {{0,0,0,0,0,0}, 3,0,0,2,0,
arab_tag,
FALSE},{{0,0,1,0,0,0}, 6,0,1,2,0,
arab_tag,
FALSE},
569 {{0,0,0,0,0,0}, 7,0,0,2,0,
arab_tag,
FALSE},{{0,0,1,0,0,0},10,0,1,2,0,
arab_tag,
FALSE},
570 {{0,0,0,0,0,0},11,0,0,2,0,
arab_tag,
FALSE},{{0,0,0,0,0,0},13,0,0,0,0,-1,
FALSE}};
571 static const itemTest t573[] = {{{0,0,0,0,0,0}, 0,0,0,0,1,
arab_tag,
FALSE},{{0,0,0,0,0,0}, 2,0,0,0,1,
arab_tag,
FALSE},
572 {{0,0,0,0,0,0}, 3,0,0,0,1,
arab_tag,
FALSE},{{0,0,0,0,0,0}, 6,0,0,0,1,
arab_tag,
FALSE},
573 {{0,0,0,0,0,0}, 7,0,0,0,1,
arab_tag,
FALSE},{{0,0,0,0,0,0},10,0,0,0,1,
arab_tag,
FALSE},
574 {{0,0,0,0,0,0},11,0,0,0,1,
arab_tag,
FALSE},{{0,0,0,0,0,0},13,0,0,0,0,-1,
FALSE}};
575
576 static const WCHAR test58[] = {0x0661, 0x0662, 0x066c, 0x0663, 0x0664, 0x0665, 0x066c,
577 0x0666, 0x0667, 0x0668, 0x066b, 0x0669, 0x0660};
578 static const itemTest t581[] = {{{0,0,0,0,0,0}, 0,0,1,2,0,
arab_tag,
FALSE},
579 {{0,0,0,0,0,0},13,0,0,0,0,-1,
FALSE}};
580 static const itemTest t582[] = {{{0,0,1,1,1,0}, 0,0,0,0,1,
arab_tag,
FALSE},
581 {{0,0,0,0,0,0},13,0,0,0,0,-1,
FALSE}};
582
588
591
593 ok (
hr ==
E_INVALIDARG,
"ScriptItemize should return E_INVALIDARG if pwcInChars is NULL\n");
594
596 ok (
hr ==
E_INVALIDARG,
"ScriptItemize should return E_INVALIDARG if pItems is NULL\n");
597
599 ok (
hr ==
E_INVALIDARG,
"ScriptItemize should return E_INVALIDARG if cMaxItems < 2.\n");
600
602 ok (
hr ==
E_INVALIDARG,
"ScriptItemize should return E_INVALIDARG if cInChars is 0\n");
603
659
660 State.uBidiLevel = 0;
724
725 State.uBidiLevel = 1;
781
782 State.uBidiLevel = 1;
839
840 State.uBidiLevel = 0;
842 State.fOverrideDirection = 1;
906}
static CRYPT_DATA_BLOB b2[]
#define test_items_ok(a, b, c, d, e, f, g, h)