提交 055fb24d 编写于 作者: B Behdad Esfahbod

Add test for bug in ICU decompose

As reported by Kenichi Ishibashi on 2011-10-28.
上级 c521e793
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册