|
Packit |
6c4009 |
/*
|
|
Packit |
6c4009 |
* TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
|
|
Packit |
6c4009 |
*
|
|
Packit |
6c4009 |
* FILE: dat_iswupper.c
|
|
Packit |
6c4009 |
*
|
|
Packit |
6c4009 |
* ISW*: int iswupper (wint_t wc);
|
|
Packit |
6c4009 |
*/
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#include "dat_isw-funcs.h"
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
TST_ISW_LOC (UPPER, upper) = {
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
{ TST_ISW_REC (de, upper)
|
|
Packit |
6c4009 |
{
|
|
Packit |
6c4009 |
{ { 0x0080 }, { 0,1,0 } }, /* CTRL */
|
|
Packit |
6c4009 |
{ { 0x009F }, { 0,1,0 } }, /* CTRL */
|
|
Packit |
6c4009 |
{ { 0x00A0 }, { 0,1,0 } }, /* NB SPACE */
|
|
Packit |
6c4009 |
{ { 0x00A1 }, { 0,1,0 } }, /* UD ! */
|
|
Packit |
6c4009 |
{ { 0x00B0 }, { 0,1,0 } }, /* Degree */
|
|
Packit |
6c4009 |
{ { 0x00B1 }, { 0,1,0 } }, /* +- sign */
|
|
Packit |
6c4009 |
{ { 0x00B2 }, { 0,1,0 } }, /* SUP 2 */
|
|
Packit |
6c4009 |
{ { 0x00B3 }, { 0,1,0 } }, /* SUP 3 */
|
|
Packit |
6c4009 |
{ { 0x00B4 }, { 0,1,0 } }, /* ACUTE */
|
|
Packit |
6c4009 |
{ { 0x00B8 }, { 0,1,0 } }, /* CEDILLA */
|
|
Packit |
6c4009 |
{ { 0x00B9 }, { 0,1,0 } }, /* SUP 1 */
|
|
Packit |
6c4009 |
{ { 0x00BB }, { 0,1,0 } }, /* >> */
|
|
Packit |
6c4009 |
{ { 0x00BC }, { 0,1,0 } }, /* 1/4 */
|
|
Packit |
6c4009 |
{ { 0x00BD }, { 0,1,0 } }, /* 1/2 */
|
|
Packit |
6c4009 |
{ { 0x00BE }, { 0,1,0 } }, /* 3/4 */
|
|
Packit |
6c4009 |
{ { 0x00BF }, { 0,1,0 } }, /* UD ? */
|
|
Packit |
6c4009 |
{ { 0x00C0 }, { 0,0,0 } }, /* A Grave */
|
|
Packit |
6c4009 |
{ { 0x00D6 }, { 0,0,0 } }, /* O dia */
|
|
Packit |
6c4009 |
{ { 0x00D7 }, { 0,1,0 } }, /* multipl. */
|
|
Packit |
6c4009 |
{ { 0x00D8 }, { 0,0,0 } }, /* O stroke */
|
|
Packit |
6c4009 |
{ { 0x00DF }, { 0,1,0 } }, /* small Sh */
|
|
Packit |
6c4009 |
{ { 0x00E0 }, { 0,1,0 } }, /* a grave */
|
|
Packit |
6c4009 |
{ { 0x00F6 }, { 0,1,0 } }, /* o dia */
|
|
Packit |
6c4009 |
{ { 0x00F7 }, { 0,1,0 } }, /* division */
|
|
Packit |
6c4009 |
{ { 0x00F8 }, { 0,1,0 } }, /* o stroke */
|
|
Packit |
6c4009 |
{ { 0x00FF }, { 0,1,0 } }, /* y dia */
|
|
Packit |
6c4009 |
{ .is_last = 1 } /* Last entry. */
|
|
Packit |
6c4009 |
}
|
|
Packit |
6c4009 |
},
|
|
Packit |
6c4009 |
{ TST_ISW_REC (enUS, upper)
|
|
Packit |
6c4009 |
{
|
|
Packit |
6c4009 |
{ { WEOF }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0000 }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x001F }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0020 }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0021 }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x002F }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0030 }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0039 }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x003A }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0040 }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0041 }, { 0,0,0 } },
|
|
Packit |
6c4009 |
{ { 0x005A }, { 0,0,0 } },
|
|
Packit |
6c4009 |
{ { 0x005B }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0060 }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0061 }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x007A }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x007B }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x007E }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x007F }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ { 0x0080 }, { 0,1,0 } },
|
|
Packit |
6c4009 |
{ .is_last = 1 } /* Last entry. */
|
|
Packit |
6c4009 |
}
|
|
Packit |
6c4009 |
},
|
|
Packit |
6c4009 |
{ TST_ISW_REC (eucJP, upper)
|
|
Packit |
6c4009 |
{
|
|
Packit |
6c4009 |
{ { 0x3041 }, { 0,1,0 } }, /* HIRAGANA a */
|
|
Packit |
6c4009 |
{ { 0x3094 }, { 0,1,0 } }, /* HIRAGANA u" */
|
|
Packit |
6c4009 |
{ { 0x30A1 }, { 0,1,0 } }, /* KATAKANA a */
|
|
Packit |
6c4009 |
{ { 0x30FA }, { 0,1,0 } }, /* KATAKANA wo" */
|
|
Packit |
6c4009 |
{ { 0xFF19 }, { 0,1,0 } }, /* FULL 9 */
|
|
Packit |
6c4009 |
{ { 0xFF20 }, { 0,1,0 } }, /* FULL @ */
|
|
Packit |
6c4009 |
{ { 0xFF3A }, { 0,0,0 } }, /* FULL Z */
|
|
Packit |
6c4009 |
{ { 0xFF40 }, { 0,1,0 } }, /* FULL GRAVE ACC. */
|
|
Packit |
6c4009 |
{ { 0xFF5A }, { 0,1,0 } }, /* FULL z */
|
|
Packit |
6c4009 |
{ { 0xFF66 }, { 0,1,0 } }, /* HALF KATA WO */
|
|
Packit |
6c4009 |
{ { 0xFF6F }, { 0,1,0 } }, /* HALF KATA tu */
|
|
Packit |
6c4009 |
{ { 0xFF71 }, { 0,1,0 } }, /* HALF KATA A */
|
|
Packit |
6c4009 |
{ { 0xFF9E }, { 0,1,0 } }, /* HALF KATA MI */
|
|
Packit |
6c4009 |
{ .is_last = 1 } /* Last entry. */
|
|
Packit |
6c4009 |
}
|
|
Packit |
6c4009 |
},
|
|
Packit |
6c4009 |
{ TST_ISW_REC (end, upper) }
|
|
Packit |
6c4009 |
};
|