* csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.
[glibc.git] / localedata / tests-mbwc / dat_wcstok.c
blob5b931c250dea01788fd0f4b3ef7bd7d678aefbec
1 /*
2 * TEST SUITE FOR MB/WC FUNCTIONS IN CLIBRARY
4 * FILE: dat_wcstok.c
6 * WCSTOK: wchar_t *wcstok (wchar_t *ws, const wchar_t *dlm,
7 * wchar_t **pt);
8 */
11 * NOTE:
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,
27 0x00D9,0x0000 },
28 { 0x00D3,0x00D2, 0x00D5 }
30 { 0, { 0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,0x00D8,
31 0x00D9,0x0000 },
32 { 0x00D3,0x00D2, 0x00D5 }
34 { 0, { 0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,0x00D8,
35 0x00D9,0x0000 },
36 { 0x00D3,0x00D2, 0x00D5 }
42 { 0, 0,0,
43 { 0x00D1,0x0000 }
45 { 0, 0,0,
46 { 0x00D4,0x0000 }
48 { 0, 0,0,
49 { 0x00D6,0x00D7,0x00D8,0x00D9,0x0000 }
54 { .is_last = 1 }
58 { Twcstok, TST_LOC_enUS },
63 { 1, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
64 0x0049,0x0000 },
65 { 0x0043,0x0042, 0x0045 }
67 { 0, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
68 0x0049,0x0000 },
69 { 0x0043,0x0042, 0x0045 }
71 { 0, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
72 0x0049,0x0000 },
73 { 0x0043,0x0042, 0x0045 }
79 { 0, 0,0,
80 { 0x0041,0x0000 }
82 { 0, 0,0,
83 { 0x0044,0x0000 }
85 { 0, 0,0,
86 { 0x0046,0x0047,0x0048,0x0049,0x0000 }
91 { .is_last = 1 }
95 { Twcstok, TST_LOC_eucJP },
100 { 1, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
101 0x0049,0x0000 },
102 { 0x0043,0x0042, 0x0045 }
104 { 0, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
105 0x0049,0x0000 },
106 { 0x0043,0x0042, 0x0045 }
108 { 0, { 0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,
109 0x0049,0x0000 },
110 { 0x0043,0x0042, 0x0045 }
116 { 0, 0,0,
117 { 0x0041,0x0000 }
119 { 0, 0,0,
120 { 0x0044,0x0000 }
122 { 0, 0,0,
123 { 0x0046,0x0047,0x0048,0x0049,0x0000 }
128 { .is_last = 1 }
132 { Twcstok, TST_LOC_end }