]> git.ipfire.org Git - thirdparty/glibc.git/blame - localedata/tests-mbwc/dat_wcscpy.c
iconv, localedef: avoid floating point rounding differences [BZ #24372]
[thirdparty/glibc.git] / localedata / tests-mbwc / dat_wcscpy.c
CommitLineData
5b905722
AJ
1/*
2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
3 *
4 * FILE: dat_wcscpy.c
5 *
6 * WCSCPY: wchar_t *wcscpy (wchar_t *ws1, const wchar_t *ws2);
7 */
8
9TST_WCSCPY tst_wcscpy_loc [] = {
10
11 { { Twcscpy, TST_LOC_de },
12 {
13 { { { 0x00F1,0x00F2,0x00F3,0x0000 }, }, /* 1 */
ec7956d9 14 { 0,0,0, { 0x00F1,0x00F2,0x00F3,0x0000, } }, },
5b905722 15 { { { 0x0000,0x00F2,0x00F3,0x0000 }, }, /* 2 */
ec7956d9 16 { 0,0,0, { 0x0000, } }, },
1cb990bc 17 { .is_last = 1 }
5b905722
AJ
18 }
19 },
20 { { Twcscpy, TST_LOC_enUS },
21 {
22 { { { 0x0041,0x0082,0x0043,0x0000 }, }, /* 1 */
ec7956d9 23 { 0,0,0, { 0x0041,0x0082,0x0043,0x0000, } }, },
5b905722 24 { { { 0x0000,0x0082,0x0043,0x0000 }, }, /* 2 */
ec7956d9 25 { 0,0,0, { 0x0000, } }, },
1cb990bc 26 { .is_last = 1 }
5b905722
AJ
27 }
28 },
29 { { Twcscpy, TST_LOC_eucJP },
30 {
31 { { { 0x3041,0x0092,0x3043,0x0000 }, }, /* 1 */
ec7956d9 32 { 0,0,0, { 0x3041,0x0092,0x3043,0x0000, } }, },
5b905722 33 { { { 0x0000,0x0092,0x3043,0x0000 }, }, /* 2 */
ec7956d9 34 { 0,0,0, { 0x0000, } }, },
1cb990bc 35 { .is_last = 1 }
5b905722
AJ
36 }
37 },
38 { { Twcscpy, TST_LOC_end }}
39
40};