Add test for bug in ICU decompose
As reported by Kenichi Ishibashi on 2011-10-28.
This commit is contained in:
parent
c521e793bd
commit
055fb24d03
|
@ -781,7 +781,6 @@ test_unicode_script_roundtrip (gconstpointer user_data)
|
|||
}
|
||||
|
||||
|
||||
/* TODO test compose() and decompose() */
|
||||
static void
|
||||
test_unicode_normalization (gconstpointer user_data)
|
||||
{
|
||||
|
@ -826,6 +825,7 @@ test_unicode_normalization (gconstpointer user_data)
|
|||
/* Not decomposable */
|
||||
g_assert (!hb_unicode_decompose (uf, 0x0041, &a, &b) && a == 0x0041 && b == 0);
|
||||
g_assert (!hb_unicode_decompose (uf, 0xFB01, &a, &b) && a == 0xFB01 && b == 0);
|
||||
g_assert (!hb_unicode_decompose (uf, 0x1F1EF, &a, &b) && a == 0x1F1EF && b == 0);
|
||||
|
||||
/* Singletons */
|
||||
g_assert (hb_unicode_decompose (uf, 0x212B, &a, &b) && a == 0x00C5 && b == 0);
|
||||
|
|
Loading…
Reference in New Issue