Lines Matching refs:test_to
69 void test_to(CharType const *s,unsigned codepoint) in test_to() function
135 test_to("\x7f",0x7f); in main()
136 test_to("\xc2\x80",0x80); in main()
137 test_to("\xdf\xbf",0x7ff); in main()
138 test_to("\xe0\xa0\x80",0x800); in main()
139 test_to("\xef\xbf\xbf",0xffff); in main()
140 test_to("\xf0\x90\x80\x80",0x10000); in main()
141 test_to("\xf4\x8f\xbf\xbf",0x10ffff); in main()
144 test_to("\xf4\x9f\x80\x80",illegal); // 11 0000 in main()
145 test_to("\xfb\xbf\xbf\xbf",illegal); // 3ff ffff in main()
146 test_to("\xf8\x90\x80\x80\x80",illegal); // 400 0000 in main()
147 test_to("\xfd\xbf\xbf\xbf\xbf\xbf",illegal); // 7fff ffff in main()
152 test_to(make2(0x80),0x80); in main()
153 test_to(make2(0x7ff),0x7ff); in main()
155 test_to(make3(0x800),0x800); in main()
156 test_to(make3(0xffff),0xffff); in main()
158 test_to(make4(0x10000),0x10000); in main()
159 test_to(make4(0x10ffff),0x10ffff); in main()
161 test_to(make4(0x110000),illegal); in main()
162 test_to(make4(0x1fffff),illegal); in main()
164 test_to(make2(0),illegal); in main()
165 test_to(make3(0),illegal); in main()
166 test_to(make4(0),illegal); in main()
167 test_to(make2(0x7f),illegal); in main()
168 test_to(make3(0x7f),illegal); in main()
169 test_to(make4(0x7f),illegal); in main()
171 test_to(make3(0x80),illegal); in main()
172 test_to(make4(0x80),illegal); in main()
173 test_to(make3(0x7ff),illegal); in main()
174 test_to(make4(0x7ff),illegal); in main()
176 test_to(make4(0x8000),illegal); in main()
177 test_to(make4(0xffff),illegal); in main()
181 test_to(make3(0xd800),illegal); in main()
182 test_to(make3(0xdbff),illegal); in main()
183 test_to(make3(0xdc00),illegal); in main()
184 test_to(make3(0xdfff),illegal); in main()
186 test_to(make4(0xd800),illegal); in main()
187 test_to(make4(0xdbff),illegal); in main()
188 test_to(make4(0xdc00),illegal); in main()
189 test_to(make4(0xdfff),illegal); in main()
193 test_to("",incomplete); in main()
195 test_to("\x80",illegal); in main()
196 test_to("\xc2",incomplete); in main()
198 test_to("\xdf",incomplete); in main()
200 test_to("\xe0",incomplete); in main()
201 test_to("\xe0\xa0",incomplete); in main()
203 test_to("\xef\xbf",incomplete); in main()
204 test_to("\xef",incomplete); in main()
206 test_to("\xf0\x90\x80",incomplete); in main()
207 test_to("\xf0\x90",incomplete); in main()
208 test_to("\xf0",incomplete); in main()
210 test_to("\xf4\x8f\xbf",incomplete); in main()
211 test_to("\xf4\x8f",incomplete); in main()
212 test_to("\xf4",incomplete); in main()
232 test_to(u16_seq(0x10),0x10); in main()
233 test_to(u16_seq(0xffff),0xffff); in main()
234 test_to(u16_seq(0xD800,0xDC00),0x10000); in main()
235 test_to(u16_seq(0xDBFF,0xDFFF),0x10FFFF); in main()
240 test_to(u16_seq(0xDFFF),illegal); in main()
241 test_to(u16_seq(0xDC00),illegal); in main()
245 test_to(u16_seq(0),incomplete); in main()
246 test_to(u16_seq(0xD800),incomplete); in main()
247 test_to(u16_seq(0xDBFF),incomplete); in main()
253 test_to(u16_seq(0x10),0x10); in main()
254 test_to(u16_seq(0xffff),0xffff); in main()
255 test_to(u16_seq(0xD800,0xDC00),0x10000); in main()
256 test_to(u16_seq(0xDBFF,0xDFFF),0x10FFFF); in main()
265 test_to(u32_seq(0x10),0x10); in main()
266 test_to(u32_seq(0xffff),0xffff); in main()
267 test_to(u32_seq(0x10000),0x10000); in main()
268 test_to(u32_seq(0x10ffff),0x10ffff); in main()
274 test_to(u32_seq(0xD800),illegal); in main()
275 test_to(u32_seq(0xDBFF),illegal); in main()
276 test_to(u32_seq(0xDFFF),illegal); in main()
277 test_to(u32_seq(0xDC00),illegal); in main()
278 test_to(u32_seq(0x110000),illegal); in main()
282 test_to(u32_seq(0),incomplete); in main()
288 test_to(u32_seq(0x10),0x10); in main()
289 test_to(u32_seq(0xffff),0xffff); in main()
290 test_to(u32_seq(0x10ffff),0x10ffff); in main()