181{
182 static const WCHAR test1[] = {
't',
'e',
's',
't',0};
183 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}};
184 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}};
185
186 static const WCHAR test1b[] = {
' ',
' ',
' ',
' ',0};
187 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}};
188 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}};
189
190 static const WCHAR test1c[] = {
' ',
' ',
' ',
'1',
'2',
' ',0};
191 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}};
192 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}};
193
194
195 static const WCHAR test2[] = {
'1',
'2',
'3',
'-',
'5',
'2',0x064a,0x064f,0x0633,0x0627,0x0648,0x0650,0x064a,
'7',
'1',
'.',0};
196 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}};
197 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}};
198 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}};
199 static const itemTest t24[5] = {{{0,0,0,0,0,0},0,0,0,0,1,0,
FALSE},
200 {{0,0,0,0,0,0},6,0,0,0,1,
arab_tag,
FALSE},
201 {{0,0,0,0,0,0},13,0,1,0,1,0,
FALSE},
202 {{0,0,0,0,0,0},15,0,0,0,1,0,
FALSE},
203 {{0,0,0,0,0,0},16,0,0,0,0,-1,
FALSE}};
204
205 static const WCHAR test2b[] = {
'A',
'B',
'C',
'-',
'D',
'E',
'F',
' ',0x0621,0x0623,0x0624,0};
206 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}};
207 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}};
208 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}};
209 static const itemTest t2b4[5] = {{{0,0,0,0,0,0},0,0,0,0,1,
latn_tag,
FALSE},
210 {{0,0,0,0,0,0},3,0,0,0,1,0,
FALSE},
211 {{0,0,0,0,0,0},4,0,0,0,1,
latn_tag,
FALSE},
212 {{0,0,0,0,0,0},8,0,0,0,1,
arab_tag,
FALSE},
213 {{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
214 static const int b2[2] = {4,4};
215
216
217 static const WCHAR test2c[] = {
' ',0x0621,0x0623,0x0624,
'A',
'B',
'C',
'-',
'D',
'E',
'F',0};
218 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}};
219 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}};
220 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}};
221 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}};
222 static const itemTest t2c5[5] = {{{0,0,0,0,0,0},0,0,0,0,1,
arab_tag,
FALSE},
223 {{0,0,0,0,0,0},4,0,0,0,1,
latn_tag,
FALSE},
224 {{0,0,0,0,0,0},7,0,0,0,1,0,
FALSE},
225 {{0,0,0,0,0,0},8,0,0,0,1,
latn_tag,
FALSE},
226 {{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
227
228
229 static const WCHAR test2d[] = {
'A',
'B',
'C',
'-',
'D',
'E',
'F',0x0621,0x0623,0x0624,
' ',0};
230 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}};
231 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}};
232 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}};
233 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}};
234 static const itemTest t2d5[5] = {{{0,0,0,0,0,0},0,0,0,0,1,
latn_tag,
FALSE},
235 {{0,0,0,0,0,0},3,0,0,0,1,0,
FALSE},
236 {{0,0,0,0,0,0},4,0,0,0,1,
latn_tag,
FALSE},
237 {{0,0,0,0,0,0},7,0,0,0,1,
arab_tag,
FALSE},
238 {{0,0,0,0,0,0},11,0,0,0,0,-1,
FALSE}};
239
240
242{0x0e04,0x0e27,0x0e32,0x0e21,0x0e1e,0x0e22,0x0e32,0x0e22,0x0e32, 0x0e21
243,0x0e2d,0x0e22,0x0e39,0x0e48,0x0e17,0x0e35,0x0e48,0x0e44,0x0e2b,0x0e19
244,0x0e04,0x0e27,0x0e32,0x0e21,0x0e2a, 0x0e33,0x0e40,0x0e23,0x0e47,0x0e08,
245 0x0e2d,0x0e22,0x0e39,0x0e48,0x0e17,0x0e35,0x0e48,0x0e19,0x0e31,0x0e48,0x0e19,0};
246
247 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}};
248 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}};
249
250 static const WCHAR test4[] = {
'1',
'2',
'3',
'-',
'5',
'2',
' ',
'i',
's',
' ',
'7',
'1',
'.',0};
251
252 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}};
253 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}};
254 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}};
255 static const int b43[2] = {4,4};
256
257
258 static const WCHAR test5[] = {0x0627,0x0644,0x0635,0x0651,0x0650,0x062d,0x0629,0x064f,
' ',0x062a,0x064e,
259 0x0627,0x062c,0x064c,' ',0x0639,0x064e,0x0644,0x0649,' ',
260 0x0631,0x064f,0x0624,0x0648,0x0633,0x0650,' ',0x0627,0x0644,
261 0x0623,0x0635,0x0650,0x062d,0x0651,0x064e,0x0627,0x0621,0x0650,0};
262 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}};
263 static const itemTest t52[2] = {{{0,0,0,0,0,0},0,0,0,0,1,
arab_tag,
FALSE},
264 {{0,0,0,0,0,0},38,0,0,0,0,-1,
FALSE}};
265
266
267
268 static const WCHAR test6[] = {0x05e9, 0x05dc, 0x05d5, 0x05dd,
'.',0};
269 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}};
270 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}};
271 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}};
272 static const itemTest t64[3] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
273 {{0,0,0,0,0,0},4,0,0,0,1,0,
FALSE},
274 {{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
275
276 static const int b63[2] = {2,2};
277 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};
278 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}};
279 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}};
280 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}};
281 static const itemTest t74[4] = {{{0,0,0,0,0,0},0,0,0,0,1,
latn_tag,
FALSE},
282 {{0,0,0,0,0,0},9,0,0,0,1,
hebr_tag,
FALSE},
283 {{0,0,0,0,0,0},19,0,0,0,1,
latn_tag,
FALSE},
284 {{0,0,0,0,0,0},29,0,0,0,0,-1,
FALSE}};
285
286 static const WCHAR test8[] = {0x0633, 0x0644, 0x0627, 0x0645,0};
287 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}};
288 static const itemTest t82[2] = {{{0,0,0,0,0,0},0,0,0,0,1,
arab_tag,
FALSE},
289 {{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
290
291
292 static const WCHAR test9[] = {0x0710, 0x0712, 0x0712, 0x0714,
'.',0};
293 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}};
294 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}};
295 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}};
296 static const itemTest t94[3] = {{{0,0,0,0,0,0},0,0,0,0,1,
syrc_tag,
FALSE},
297 {{0,0,0,0,0,0},4,0,0,0,1,0,
FALSE},
298 {{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
299 static const int b93[2] = {2,2};
300
301 static const WCHAR test10[] = {0x0717, 0x0718, 0x071a, 0x071b,0};
302 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}};
303 static const itemTest t102[2] = {{{0,0,0,0,0,0},0,0,0,0,1,
syrc_tag,
FALSE},
304 {{0,0,0,0,0,0},4,0,0,0,0,-1,
FALSE}};
305
306
307 static const WCHAR test11[] = {0x0926, 0x0947, 0x0935, 0x0928, 0x093e, 0x0917, 0x0930, 0x0940};
308 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}};
309 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}};
310
311
312 static const WCHAR test12[] = {0x09ac, 0x09be, 0x0982, 0x09b2, 0x09be};
313 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}};
314 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}};
315
316
317 static const WCHAR test13[] = {0x0a17, 0x0a41, 0x0a30, 0x0a2e, 0x0a41, 0x0a16, 0x0a40};
318 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}};
319 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}};
320
321
322 static const WCHAR test14[] = {0x0a97, 0x0ac1, 0x0a9c, 0x0ab0, 0x0abe, 0x0aa4, 0x0ac0};
323 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}};
324 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}};
325
326
327 static const WCHAR test15[] = {0x0b13, 0x0b21, 0x0b3c, 0x0b3f, 0x0b06};
328 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}};
329 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}};
330
331
332 static const WCHAR test16[] = {0x0ba4, 0x0bae, 0x0bbf, 0x0bb4, 0x0bcd};
333 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}};
334 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}};
335
336
337 static const WCHAR test17[] = {0x0c24, 0x0c46, 0x0c32, 0x0c41, 0x0c17, 0x0c41};
338 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}};
339 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}};
340
341
342 static const WCHAR test18[] = {0x0c95, 0x0ca8, 0x0ccd, 0x0ca8, 0x0ca1};
343 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}};
344 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}};
345
346
347 static const WCHAR test19[] = {0x0d2e, 0x0d32, 0x0d2f, 0x0d3e, 0x0d33, 0x0d02};
348 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}};
349 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}};
350
351
352 static const WCHAR test20[] = {0x0309,
'a',
'b',
'c',
'd',0};
353 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}};
354 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}};
355
356 static const WCHAR test21[] = {0x0710, 0x0712, 0x0308, 0x0712, 0x0714,0};
357 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}};
358 static const itemTest t212[2] = {{{0,0,0,0,0,0},0,0,0,0,1,
syrc_tag,
FALSE},
359 {{0,0,0,0,0,0},5,0,0,0,0,-1,
FALSE}};
360
361
362 static const WCHAR test22[] = {
'#',
'$',
',',
'!',
'\"',
'*',0};
363 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}};
364 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}};
365 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}};
366 static const int b222[2] = {1,1};
367 static const int b223[2] = {2,2};
368
369
370 static const WCHAR test23[] = {
'1',
'2',
'3',0x00b2,0x00b3,0x2070,0};
371 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}};
372 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}};
373
374
375 static const WCHAR test24[] = {0x1019,0x103c,0x1014,0x103a,0x1019,0x102c,0x1021,0x1000,0x1039,0x1001,0x101b,0x102c};
376 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}};
377 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}};
378
379
380 static const WCHAR test25[] = {0x1956,0x196d,0x1970,0x1956,0x196c,0x1973,0x1951,0x1968,0x1952,0x1970};
381 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}};
382 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}};
383
384
385 static const WCHAR test26[] = {0x1992,0x19c4};
386 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}};
387 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}};
388
389
390 static const WCHAR test27[] = {0x1781,0x17c1,0x1798,0x179a,0x1797,0x17b6,0x179f,0x17b6};
391 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}};
392 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}};
393
394
395 static const WCHAR test28[] = {0x8bed,0x7d20,0x6587,0x5b57};
396 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}};
397 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}};
398
399
400 static const WCHAR test29[] = {0x2ff0,0x2ff3,0x2ffb,0x2ff0,0x65e5,0x65e5,0x5de5,0x7f51,0x4e02,0x4e5e};
401 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}};
402 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}};
403
404
405 static const WCHAR test30[] = {0x3113,0x3128,0x3127,0x3123,0x3108,0x3128,0x310f,0x3120};
406 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}};
407 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}};
408
409
410 static const WCHAR test31[] = {0x3072,0x3089,0x304b,0x306a,0x30ab,0x30bf,0x30ab,0x30ca};
411 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}};
412 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}};
413 static const int b311[2] = {2,2};
414 static const int b312[2] = {2,2};
415
416
417 static const WCHAR test32[] = {0xd55c,0xad6d,0xc5b4};
418 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}};
419 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}};
420
421
422 static const WCHAR test33[] = {0xa188,0xa320,0xa071,0xa0b7};
423 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}};
424 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}};
425
426
427 static const WCHAR test34[] = {0x130d,0x12d5,0x12dd};
428 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}};
429 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}};
430 static const int b342[2] = {2,2};
431
432
433 static const WCHAR test35[] = {0x182e,0x1823,0x1829,0x182d,0x1823,0x182f,0x0020,0x182a,0x1822,0x1834,0x1822,0x182d,0x180c};
434 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}};
435 static const int b351[2] = {2,2};
436 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}};
437 static const int b352[2] = {2,3};
438 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}};
439
440
441 static const WCHAR test36[] = {0x2d5c,0x2d49,0x2d3c,0x2d49,0x2d4f,0x2d30,0x2d56};
442 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}};
443 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}};
444
445
446 static const WCHAR test37[] = {0x07d2,0x07de,0x07cf};
447 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}};
448 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}};
449 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}};
450
451
452 static const WCHAR test38[] = {0xa559,0xa524};
453 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}};
454 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}};
455
456
457 static const WCHAR test39[] = {0x13e3,0x13b3,0x13a9,0x0020,0x13a6,0x13ec,0x13c2,0x13af,0x13cd,0x13d7};
458 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}};
459 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}};
460
461
462 static const WCHAR test40[] = {0x1403,0x14c4,0x1483,0x144e,0x1450,0x1466};
463 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}};
464 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}};
465
466
467 static const WCHAR test41[] = {0x169b,0x1691,0x168c,0x1690,0x168b,0x169c};
468 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}};
469 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}};
470 static const int b412[2] = {1,1};
471
472
473 static const WCHAR test42[] = {0x16a0,0x16a1,0x16a2,0x16a3,0x16a4,0x16a5};
474 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}};
475 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}};
476
477
478 static const WCHAR test43[] = {0x280f,0x2817,0x2811,0x280d,0x280a,0x2811,0x2817};
479 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}};
480 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}};
481
482
483 static const WCHAR test44[] = {0xe000, 0xe001, 0xd800, 0xd801};
484 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}};
485 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}};
486
487
488 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};
489 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}};
490 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}};
491
492
493 static const WCHAR test46[] = {0xd801,0xdc8b,0xd801,0xdc98,0xd801,0xdc88,0xd801,0xdc91,0xd801,0xdc9b,0xd801,0xdc92,0xd801,0xdc95,0xd801,0xdc80};
494 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}};
495 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}};
496
497
498 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};
499 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}};
500 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}};
501
502
503
504 static const WCHAR test48[] = {0x05e9,
' ',
'1',
'2',
'3',
'.'};
505 static const itemTest t481[4] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
506 {{0,0,0,0,0},2,0,1,2,0,0,
FALSE},{{0,0,0,0,0},5,0,0,0,0,0,
FALSE},
507 {{0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
508 static const itemTest t482[4] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
509 {{0,0,0,0,0,0},2,0,1,0,1,0,
FALSE},
510 {{0,0,0,0,0,0},5,0,0,0,1,0,
FALSE},
511 {{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
512
513 static const WCHAR test49[] = {0x05e9,
' ',
'1',
'2',
'.',
'1',
'2'};
514 static const itemTest t491[3] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
515 {{0,0,0,0,0},2,0,1,2,0,0,
FALSE},{{0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
516 static const itemTest t492[3] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
517 {{0,0,0,0,0,0},2,0,1,0,1,0,
FALSE},
518 {{0,0,0,0,0,0},7,0,0,0,0,-1,
FALSE}};
519
520 static const WCHAR test50[] = {0x05e9,
' ',
'.',
'1',
'2',
'3'};
521 static const itemTest t501[4] = {{{0,0,0,0,0,0},0,1,1,1,0,
hebr_tag,
FALSE},
522 {{0,0,0,0,0},2,1,1,1,0,0,
FALSE},{{0,0,0,0,0},3,0,1,2,0,0,
FALSE},
523 {{0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
524 static const itemTest t502[4] = {{{0,0,0,0,0,0},0,0,0,0,1,
hebr_tag,
FALSE},
525 {{0,0,0,0,0,0},2,0,0,0,1,0,
FALSE},
526 {{0,0,0,0,0,0},3,0,1,0,1,0,
FALSE},
527 {{0,0,0,0,0,0},6,0,0,0,0,-1,
FALSE}};
528
529 static const WCHAR test51[] = {0x05e9,
' ',