Add the corresponding test for g_unichar_totitle(0)

This commit is contained in:
Emmanuel Fleury 2019-05-14 13:38:14 +02:00
parent 48d65634a5
commit 7dcaa7eeda

View File

@ -882,6 +882,7 @@ test_title (void)
g_assert_false (g_unichar_istitle (G_UNICODE_LAST_CHAR_PART1));
g_assert_false (g_unichar_istitle (G_UNICODE_LAST_CHAR_PART1 + 1));
g_assert_cmphex (g_unichar_totitle (0x0000), ==, 0x0000);
g_assert_cmphex (g_unichar_totitle (0x01c6), ==, 0x01c5);
g_assert_cmphex (g_unichar_totitle (0x01c4), ==, 0x01c5);
g_assert_cmphex (g_unichar_totitle (0x01c5), ==, 0x01c5);