summary refs log tree commit diff
path: root/localedata/tests-mbwc/dat_iswalnum.c
blob: 440e4515d483010a9c0d663aee980d554f9da993 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/*
 *  TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
 *
 *	 FILE:	dat_iswalnum.c
 *
 *	 ISW*:	int iswalnum (wint_t wc);
 */


#include "dat_isw-funcs.h"


TST_ISW_LOC (ALNUM, alnum) = {

    {	TST_ISW_REC (de, alnum)
	{
	  {  { 0x0080 }, { 0,0,1,0 }  },  /* CTRL     */
	  {  { 0x009F }, { 0,0,1,0 }  },  /* CTRL     */
	  {  { 0x00A0 }, { 0,0,1,0 }  },  /* NB SPACE */
	  {  { 0x00A1 }, { 0,0,1,0 }  },  /* UD !     */
	  {  { 0x00B0 }, { 0,0,1,0 }  },  /* Degree   */
	  {  { 0x00B1 }, { 0,0,1,0 }  },  /* +- sign  */
	  {  { 0x00B2 }, { 0,0,1,0 }  },  /* SUP 2    */
	  {  { 0x00B3 }, { 0,0,1,0 }  },  /* SUP 3    */
	  {  { 0x00B4 }, { 0,0,1,0 }  },  /* ACUTE    */
	  {  { 0x00B8 }, { 0,0,1,0 }  },  /* CEDILLA  */
	  {  { 0x00B9 }, { 0,0,1,0 }  },  /* SUP 1    */
	  {  { 0x00BB }, { 0,0,1,0 }  },  /* >>	      */
	  {  { 0x00BC }, { 0,0,1,0 }  },  /* 1/4      */
	  {  { 0x00BD }, { 0,0,1,0 }  },  /* 1/2      */
	  {  { 0x00BE }, { 0,0,1,0 }  },  /* 3/4      */
	  {  { 0x00BF }, { 0,0,1,0 }  },  /* UD ?     */
	  {  { 0x00C0 }, { 0,0,0,0 }  },  /* A Grave  */
	  {  { 0x00D6 }, { 0,0,0,0 }  },  /* O dia    */
	  {  { 0x00D7 }, { 0,0,1,0 }  },  /* multipl. */
	  {  { 0x00D8 }, { 0,0,0,0 }  },  /* O stroke */
	  {  { 0x00DF }, { 0,0,0,0 }  },  /* small Sh */
	  {  { 0x00E0 }, { 0,0,0,0 }  },  /* a grave  */
	  {  { 0x00F6 }, { 0,0,0,0 }  },  /* o dia    */
	  {  { 0x00F7 }, { 0,0,1,0 }  },  /* division */
	  {  { 0x00F8 }, { 0,0,0,0 }  },  /* o stroke */
	  {  { 0x00FF }, { 0,0,0,0 }  },  /* y dia    */
	  {  is_last: 1 }		  /* last element    */
	}
    },
    {	TST_ISW_REC (de_UTF8, alnum)
	{
	  {  { 0xC280 }, { 0,0,1,0 }  },  /* CTRL     */
	  {  { 0xC29F }, { 0,0,1,0 }  },  /* CTRL     */
	  {  { 0xC2A0 }, { 0,0,1,0 }  },  /* NB SPACE */
	  {  { 0xC2A1 }, { 0,0,1,0 }  },  /* UD !     */
	  {  { 0xC2B0 }, { 0,0,1,0 }  },  /* Degree   */
	  {  { 0xC2B1 }, { 0,0,1,0 }  },  /* +- sign  */
	  {  { 0xC2B2 }, { 0,0,1,0 }  },  /* SUP 2    */
	  {  { 0xC2B3 }, { 0,0,1,0 }  },  /* SUP 3    */
	  {  { 0xC2B4 }, { 0,0,1,0 }  },  /* ACUTE    */
	  {  { 0xC2B8 }, { 0,0,1,0 }  },  /* CEDILLA  */
	  {  { 0xC2B9 }, { 0,0,1,0 }  },  /* SUP 1    */
	  {  { 0xC2BB }, { 0,0,1,0 }  },  /* >>	      */
	  {  { 0xC2BC }, { 0,0,1,0 }  },  /* 1/4      */
	  {  { 0xC2BD }, { 0,0,1,0 }  },  /* 1/2      */
	  {  { 0xC2BE }, { 0,0,1,0 }  },  /* 3/4      */
	  {  { 0xC2BF }, { 0,0,1,0 }  },  /* UD ?     */
	  {  { 0xC380 }, { 0,0,0,0 }  },  /* A Grave  */
	  {  { 0xC396 }, { 0,0,0,0 }  },  /* O dia    */
	  {  { 0xC397 }, { 0,0,1,0 }  },  /* multipl. */
	  {  { 0xC398 }, { 0,0,0,0 }  },  /* O stroke */
	  {  { 0xC39F }, { 0,0,0,0 }  },  /* small Sh */
	  {  { 0xC3A0 }, { 0,0,0,0 }  },  /* a grave  */
	  {  { 0xC3B6 }, { 0,0,0,0 }  },  /* o dia    */
	  {  { 0xC3B7 }, { 0,0,1,0 }  },  /* division */
	  {  { 0xC3B8 }, { 0,0,0,0 }  },  /* o stroke */
	  {  { 0xC3BF }, { 0,0,0,0 }  },  /* y dia    */
	  {  is_last: 1 }		  /* last element    */
	}
    },
    {	TST_ISW_REC (enUS, alnum)
	{
	  {  { WEOF   }, { 0,0,1,0 }  },
	  {  { 0x0000 }, { 0,0,1,0 }  },
	  {  { 0x001F }, { 0,0,1,0 }  },
	  {  { 0x0020 }, { 0,0,1,0 }  },
	  {  { 0x0021 }, { 0,0,1,0 }  },
	  {  { 0x002F }, { 0,0,1,0 }  },
	  {  { 0x0030 }, { 0,0,0,0 }  },
	  {  { 0x0039 }, { 0,0,0,0 }  },
	  {  { 0x003A }, { 0,0,1,0 }  },
	  {  { 0x0040 }, { 0,0,1,0 }  },
	  {  { 0x0041 }, { 0,0,0,0 }  },
	  {  { 0x005A }, { 0,0,0,0 }  },
	  {  { 0x005B }, { 0,0,1,0 }  },
	  {  { 0x0060 }, { 0,0,1,0 }  },
	  {  { 0x0061 }, { 0,0,0,0 }  },
	  {  { 0x007A }, { 0,0,0,0 }  },
	  {  { 0x007B }, { 0,0,1,0 }  },
	  {  { 0x007E }, { 0,0,1,0 }  },
	  {  { 0x007F }, { 0,0,1,0 }  },
	  {  { 0x0080 }, { 0,0,1,0 }  },
	  {  is_last: 1 }		  /* last element    */
	}
    },
    {	TST_ISW_REC (eucJP, alnum)
	{
	  {  { 0x3000 }, { 0,0,1,0 }  },  /* IDEO. SPACE	*/
	  {  { 0x3020 }, { 0,0,1,0 }  },  /* POSTAL MARK FACE	*/
	  {  { 0x3029 }, { 0,0,1,0 }  },  /* Hangzhou NUM9	*/
	  {  { 0x302F }, { 0,0,1,0 }  },  /* Diacritics(Hangul) */
	  {  { 0x3037 }, { 0,0,1,0 }  },  /* Separator Symbol	*/
	  {  { 0x303F }, { 0,0,1,0 }  },  /* IDEO. HALF SPACE	*/
	  {  { 0x3041 }, { 0,0,1,0 }  },  /* HIRAGANA a		*/
	  {  { 0x3094 }, { 0,0,1,0 }  },  /* HIRAGANA u"	*/
	  {  { 0x3099 }, { 0,0,1,0 }  },  /* SOUND MARK		*/
	  {  { 0x309E }, { 0,0,1,0 }  },  /* ITERATION MARK	*/
	  {  { 0x30A1 }, { 0,0,1,0 }  },  /* KATAKANA a		*/
	  {  { 0x30FA }, { 0,0,1,0 }  },  /* KATAKANA wo"	*/
	  {  { 0x30FB }, { 0,0,1,0 }  },  /* KATAKANA MID.DOT	*/
	  {  { 0x30FE }, { 0,0,1,0 }  },  /* KATAKANA ITERATION */
	  {  { 0x3191 }, { 0,0,1,0 }  },  /* KANBUN REV.MARK	*/
	  {  { 0x3243 }, { 0,0,1,0 }  },  /* IDEO. MARK (reach) */
	  {  { 0x32CB }, { 0,0,1,0 }  },  /* IDEO.TEL.SYM.DEC12 */
	  {  { 0x32FE }, { 0,0,1,0 }  },  /* MARU KATAKANA wo	*/
	  {  { 0x33FE }, { 0,0,1,0 }  },  /* CJK IDEO.TEL.31th	*/
	  {  { 0x4E00 }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.	*/
	  {  { 0x4E05 }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.	*/
	  {  { 0x4E06 }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.NON-J */
	  {  { 0x4E07 }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.	*/
	  {  { 0x4FFF }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.	*/
	  {  { 0x9000 }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.	*/
	  {  { 0x9006 }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.	*/
	  {  { 0x9007 }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.NON-J */
	  {  { 0x9FA4 }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.NON-J */
	  {  { 0x9FA5 }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.	*/
	  {  { 0xFE4F }, { 0,0,1,0 }  },  /* CJK UNI.IDEO.	*/
	  {  { 0xFF0F }, { 0,0,1,0 }  },  /* FULL SLASH		*/
	  {  { 0xFF19 }, { 0,0,0,0 }  },  /* FULL 9		*/
	  {  { 0xFF20 }, { 0,0,1,0 }  },  /* FULL @		*/
	  {  { 0xFF3A }, { 0,0,0,0 }  },  /* FULL Z		*/
	  {  { 0xFF40 }, { 0,0,1,0 }  },  /* FULL GRAVE ACC.	*/
	  {  { 0xFF5A }, { 0,0,0,0 }  },  /* FULL z		*/
	  {  { 0xFF5E }, { 0,0,1,0 }  },  /* FULL ~ (tilde)	*/
	  {  { 0xFF61 }, { 0,0,1,0 }  },  /* HALF IDEO.STOP. .	*/
	  {  { 0xFF65 }, { 0,0,1,0 }  },  /* HALF KATA MID.DOT	*/
	  {  { 0xFF66 }, { 0,0,1,0 }  },  /* HALF KATA WO	*/
	  {  { 0xFF6F }, { 0,0,1,0 }  },  /* HALF KATA tu	*/
	  {  { 0xFF70 }, { 0,0,1,0 }  },  /* HALF KATA PL -	*/
	  {  { 0xFF71 }, { 0,0,1,0 }  },  /* HALF KATA A	*/
	  {  { 0xFF9E }, { 0,0,1,0 }  },  /* HALF KATA MI	*/
	  {  is_last: 1 }		  /* last element    */
	}
    },
    {	TST_ISW_REC (end, alnum) }
};