2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
6 * WCSNCAT: wchar_t *wcsncat (wchar_t *ws1, wchar_t *ws2, size_t n);
12 * A terminating null wide chararacter is always appended to
18 TST_WCSNCAT tst_wcsncat_loc
[] = {
20 {Twcsncat
, TST_LOC_de
},
25 {{ 0x00D1,0x00D2,0x0000 },
26 { 0x00D3,0x00D4,0x0000 }, 3 },
29 { 0x00D1,0x00D2,0x00D3,0x00D4,0x0000 } },
32 {{{ 0x00D1,0x00D2,0x0000 },
33 { 0x00D3,0x00D4,0x0000 }, 2 },
35 { 0x00D1,0x00D2,0x00D3,0x00D4,0x0000 } },
38 {{{ 0x00E1,0x00E2,0x0000 },
39 { 0x00E3,0x00E4,0x0000 }, 1 },
41 { 0x00E1,0x00E2,0x00E3,0x0000 } },
44 {{{ 0x00E1,0x00E2,0x0000 },
45 { 0x00E3,0x00E4,0x0000 }, 0 },
47 { 0x00E1,0x00E2,0x0000 } },
51 { 0x00D3,0x00D4,0x0000 }, 3 },
53 { 0x00D3,0x00D4,0x0000 } },
56 {{{ 0x00E1,0x00E2,0x0000 },
59 { 0x00E1,0x00E2,0x0000 } },
65 {Twcsncat
, TST_LOC_enUS
},
70 {{ 0x0041,0x0042,0x0000 },
71 { 0x0043,0x0044,0x0000 }, 3 },
74 { 0x0041,0x0042,0x0043,0x0044,0x0000 } },
77 {{{ 0x0041,0x0042,0x0000 },
78 { 0x0043,0x0044,0x0000 }, 2 },
80 { 0x0041,0x0042,0x0043,0x0044,0x0000 } },
83 {{{ 0x0051,0x0052,0x0000 },
84 { 0x0053,0x0054,0x0000 }, 1 },
86 { 0x0051,0x0052,0x0053,0x0000 } },
89 {{{ 0x0051,0x0052,0x0000 },
90 { 0x0053,0x0054,0x0000 }, 0 },
92 { 0x0051,0x0052,0x0000 } },
96 { 0x0043,0x0044,0x0000 }, 3 },
98 { 0x0043,0x0044,0x0000 } },
101 {{{ 0x0051,0x0052,0x0000 },
104 { 0x0051,0x0052,0x0000 } },
110 {Twcsncat
, TST_LOC_eucJP
},
113 {{{ 0x3041,0x3042,0x0000 },
114 { 0x3043,0x3044,0x0000 }, 3 },
116 { 0x3041,0x3042,0x3043,0x3044,0x0000 } },
119 {{{ 0x30A2,0x30A3,0x0000 },
120 { 0xFF71,0xFF72,0x0000 }, 2 },
122 { 0x30A2,0x30A3,0xFF71,0xFF72,0x0000 } },
125 {{{ 0x3051,0x3052,0x0000 },
126 { 0x3053,0x3054,0x0000 }, 1 },
128 { 0x3051,0x3052,0x3053,0x0000 } },
131 {{{ 0x3051,0x3052,0x0000 },
132 { 0x3053,0x3054,0x0000 }, 0 },
134 { 0x3051,0x3052,0x0000 } },
138 { 0x3043,0x3044,0x0000 }, 3 },
140 { 0x3043,0x3044,0x0000 } },
143 {{{ 0x3051,0x3052,0x0000 },
146 { 0x3051,0x3052,0x0000 } },
152 {Twcsncat
, TST_LOC_end
}