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