2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
6 * WCSCAT: wchar_t *wcscat (wchar_t *ws1, wchar_t *ws2)
10 Since this is not a locale sensitive function,
11 it doesn't make sense to test the function on some
12 locales. Better make different test cases for each locale ...
13 (Also some wc* functions are not locale sensitive.)
17 TST_WCSCAT tst_wcscat_loc
[] = {
20 {Twcscat
, TST_LOC_de
},
23 {{{ 0x00C1,0x00C2,0x0000 },
24 { 0x00C3,0x00C4,0x0000 }, },
26 { 0x00C1,0x00C2,0x00C3,0x00C4,0x0000 } },
29 {{{ 0x0001,0x0002,0x0000 },
30 { 0x0003,0x0004,0x0000 }, },
32 { 0x0001,0x0002,0x0003,0x0004,0x0000 } },
36 { 0x00C3,0x00C4,0x0000 }, },
38 { 0x00C3,0x00C4,0x0000 } },
41 {{{ 0x0001,0xFFFF,0x0000 },
42 { 0x0080,0x0090,0x0000 }, },
44 { 0x0001,0xFFFF,0x0080,0x0090,0x0000 } },
50 {Twcscat
, TST_LOC_enUS
},
53 {{{ 0x0041,0x0042,0x0000 },
54 { 0x0043,0x0044,0x0000 }, },
56 { 0x0041,0x0042,0x0043,0x0044,0x0000 } },
59 {{{ 0x0001,0x0002,0x0000 },
60 { 0x0003,0x0004,0x0000 }, },
62 { 0x0001,0x0002,0x0003,0x0004,0x0000 } },
66 { 0x0043,0x0044,0x0000 }, },
68 { 0x0043,0x0044,0x0000 } },
71 {{{ 0x0001,0xFFFF,0x0000 },
72 { 0x0080,0x0090,0x0000 }, },
74 { 0x0001,0xFFFF,0x0080,0x0090,0x0000 } },
80 {Twcscat
, TST_LOC_eucJP
},
83 {{{ 0x30A2,0x74E0,0x0000 },
84 { 0xFF71,0x0041,0x0000 }, },
86 { 0x30A2,0x74E0,0xFF71,0x0041,0x0000 } },
89 {{{ 0x0001,0x0002,0x0000 },
90 { 0x0003,0x0004,0x0000 }, },
92 { 0x0001,0x0002,0x0003,0x0004,0x0000 } },
95 {{{ 0x30A2,0xFF71,0x0000 },
98 { 0x30A2,0xFF71,0x0000 } },
101 {{{ 0x0001,0xFFFF,0x0000 },
102 { 0x0080,0x0090,0x0000 }, },
104 { 0x0001,0xFFFF,0x0080,0x0090,0x0000 } },
110 {Twcscat
, TST_LOC_end
}