2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
6 * WCWIDTH: int wcwidth (wchar_t wc);
9 TST_WCWIDTH tst_wcwidth_loc [] = {
11 { Twcwidth, TST_LOC_de },
13 { /*inp*/ { 0x0000 }, /* #01 */
16 { /*inp*/ { 0x0020 }, /* #02 */
19 { /*inp*/ { 0x007F }, /* #03 */
22 { /*inp*/ { 0x0080 }, /* #04 */
25 { /*inp*/ { 0x00A1 }, /* #05 */
28 { /*inp*/ { 0x00C1 }, /* #06 */
31 { /*inp*/ { 0x3041 }, /* #07 */
32 /*exp*/ { 0, 1,EOF, },
38 { Twcwidth, TST_LOC_enUS },
40 { /*inp*/ { 0x0000 }, /* #01 */
43 { /*inp*/ { 0x0020 }, /* #02 */
46 { /*inp*/ { 0x007F }, /* #03 */
49 { /*inp*/ { 0x0080 }, /* #04 */
52 { /*inp*/ { 0x00A1 }, /* #05 */
55 { /*inp*/ { 0x00C1 }, /* #06 */
58 { /*inp*/ { 0x3041 }, /* #07 */
65 { Twcwidth, TST_LOC_eucJP },
67 { /*inp*/ { 0x0000 }, /* #01 */
70 { /*inp*/ { 0x0020 }, /* #02 */
73 { /*inp*/ { 0x007F }, /* #03 */
76 { /*inp*/ { 0x0080 }, /* #04 */
79 /* XXX U00A1 is a valid character in EUC-JP. */
80 { /*inp*/ { 0x00A1 }, /* #05 */
84 { /*inp*/ { 0x00C1 }, /* #06 */
87 { /*inp*/ { 0x3041 }, /* #07 */
94 { Twcwidth, TST_LOC_end }