mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 13:23:07 +02:00
unicode: Add new tests for unicode 6.2
This commit is contained in:
parent
9524c620bb
commit
242dfd617b
@ -130,7 +130,8 @@ test_unichar_break_type (void)
|
|||||||
{ G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, 0xAC00 },
|
{ G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, 0xAC00 },
|
||||||
{ G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE, 0xAC01 },
|
{ G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE, 0xAC01 },
|
||||||
{ G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER, 0x3041 },
|
{ G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER, 0x3041 },
|
||||||
{ G_UNICODE_BREAK_HEBREW_LETTER, 0x05D0 }
|
{ G_UNICODE_BREAK_HEBREW_LETTER, 0x05D0 },
|
||||||
|
{ G_UNICODE_BREAK_REGIONAL_INDICATOR, 0x1F1F6 }
|
||||||
};
|
};
|
||||||
|
|
||||||
for (i = 0; i < G_N_ELEMENTS (examples); i++)
|
for (i = 0; i < G_N_ELEMENTS (examples); i++)
|
||||||
@ -391,6 +392,7 @@ test_defined (void)
|
|||||||
{
|
{
|
||||||
g_assert (g_unichar_isdefined (0x0903));
|
g_assert (g_unichar_isdefined (0x0903));
|
||||||
g_assert (g_unichar_isdefined (0x20DD));
|
g_assert (g_unichar_isdefined (0x20DD));
|
||||||
|
g_assert (g_unichar_isdefined (0x20BA));
|
||||||
g_assert (g_unichar_isdefined (0xA806));
|
g_assert (g_unichar_isdefined (0xA806));
|
||||||
g_assert (g_unichar_isdefined ('a'));
|
g_assert (g_unichar_isdefined ('a'));
|
||||||
g_assert (!g_unichar_isdefined (0x10C49));
|
g_assert (!g_unichar_isdefined (0x10C49));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user