Lines Matching refs:test_utf8
70 test_utf8(xkb_keysym_t keysym, const char *expected) in test_utf8() function
176 assert(test_utf8(XKB_KEY_y, "y")); in main()
177 assert(test_utf8(XKB_KEY_u, "u")); in main()
178 assert(test_utf8(XKB_KEY_m, "m")); in main()
179 assert(test_utf8(XKB_KEY_Cyrillic_em, "м")); in main()
180 assert(test_utf8(XKB_KEY_Cyrillic_u, "у")); in main()
181 assert(test_utf8(XKB_KEY_exclam, "!")); in main()
182 assert(test_utf8(XKB_KEY_oslash, "ø")); in main()
183 assert(test_utf8(XKB_KEY_hebrew_aleph, "א")); in main()
184 assert(test_utf8(XKB_KEY_Arabic_sheen, "ش")); in main()
186 assert(test_utf8(XKB_KEY_space, " ")); in main()
187 assert(test_utf8(XKB_KEY_KP_Space, " ")); in main()
188 assert(test_utf8(XKB_KEY_BackSpace, "\b")); in main()
189 assert(test_utf8(XKB_KEY_Escape, "\033")); in main()
190 assert(test_utf8(XKB_KEY_KP_Separator, ",")); in main()
191 assert(test_utf8(XKB_KEY_KP_Decimal, ".")); in main()
192 assert(test_utf8(XKB_KEY_Tab, "\t")); in main()
193 assert(test_utf8(XKB_KEY_KP_Tab, "\t")); in main()
194 assert(test_utf8(XKB_KEY_hyphen, "")); in main()
195 assert(test_utf8(XKB_KEY_Linefeed, "\n")); in main()
196 assert(test_utf8(XKB_KEY_Return, "\r")); in main()
197 assert(test_utf8(XKB_KEY_KP_Enter, "\r")); in main()
198 assert(test_utf8(XKB_KEY_KP_Equal, "=")); in main()
199 assert(test_utf8(XKB_KEY_9, "9")); in main()
200 assert(test_utf8(XKB_KEY_KP_9, "9")); in main()
201 assert(test_utf8(XKB_KEY_KP_Multiply, "*")); in main()
202 assert(test_utf8(XKB_KEY_KP_Subtract, "-")); in main()
204 assert(test_utf8(0x10005d0, "א")); in main()
205 assert(test_utf8(0x110ffff, "\xf4\x8f\xbf\xbf")); in main()
206 assert(test_utf8(0x1110000, NULL) == 0); in main()