initial commit
[glibc.git] / localedata / tests-mbwc / dat_towupper.c
1 /*
2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
3 *
4 * FILE: dat_towupper.c
5 *
6 * ISW*: int towupper (wint_t wc);
7 */
8
9
10 #include "dat_tow-funcs.h"
11
12
13 TST_TOW_LOC (UPPER, upper) = {
14
15 { TST_TOW_REC (de, upper)
16 {
17 { { WEOF }, { 0, 1, (wint_t)-1 } },
18 { { 0x0080 }, { 0, 1, 0x0080 } },
19 { { 0x00EC }, { 0, 1, 0x00CC } },
20 { { 0x00CC }, { 0, 1, 0x00CC } },
21 { .is_last = 1 } /* Last element. */
22 }
23 },
24 { TST_TOW_REC (enUS, upper)
25 {
26 { { WEOF }, { 0, 1, (wint_t)-1 } },
27 { { 0x0080 }, { 0, 1, 0x0080 } },
28 { { 0x0041 }, { 0, 1, 0x0041 } },
29 { { 0x0061 }, { 0, 1, 0x0041 } },
30 { .is_last = 1 } /* Last element. */
31 }
32 },
33 { TST_TOW_REC (eucJP, upper)
34 {
35 { { WEOF }, { 0, 1, (wint_t)-1 } },
36 { { 0x007F }, { 0, 1, 0x007F } },
37 { { 0xFF41 }, { 0, 1, 0xFF21 } },
38 { { 0xFF21 }, { 0, 1, 0xFF21 } },
39 { .is_last = 1 } /* Last element. */
40 }
41 },
42 { TST_TOW_REC (end, upper) }
43 };