2 * TEST SUITE FOR MB/WC FUNCTIONS IN CLIBRARY
6 * WCSTOK: wchar_t *wcstok (wchar_t *ws, const wchar_t *dlm,
12 * need more test data!
13 * locale insensitive function...
19 TST_WCSTOK tst_wcstok_loc
[] = {
21 { Twcstok
, TST_LOC_de
},
26 { 1, { 0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,0x00D8,
28 { 0x00D3,0x00D2, 0x00D5 }
30 { 0, { 0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,0x00D8,
32 { 0x00D3,0x00D2, 0x00D5 }
34 { 0, { 0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,0x00D8,
36 { 0x00D3,0x00D2, 0x00D5 }
49 { 0x00D6,0x00D7,0x00D8,0x00D9,0x0000 }
58 { Twcstok
, TST_LOC_enUS
},
63 { 1, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
65 { 0x0043,0x0042, 0x0045 }
67 { 0, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
69 { 0x0043,0x0042, 0x0045 }
71 { 0, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
73 { 0x0043,0x0042, 0x0045 }
86 { 0x0046,0x0047,0x0048,0x0049,0x0000 }
95 { Twcstok
, TST_LOC_eucJP
},
100 { 1, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
102 { 0x0043,0x0042, 0x0045 }
104 { 0, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
106 { 0x0043,0x0042, 0x0045 }
108 { 0, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
110 { 0x0043,0x0042, 0x0045 }
123 { 0x0046,0x0047,0x0048,0x0049,0x0000 }
132 { Twcstok
, TST_LOC_end
}