[glib/unicode-14-updates] Add new Unicode scripts to the test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/unicode-14-updates] Add new Unicode scripts to the test
- Date: Mon, 20 Sep 2021 12:09:32 +0000 (UTC)
commit c92a58fce7f471c6bab433b2fc5fcbc6a427ee81
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Sep 20 08:08:23 2021 -0400
Add new Unicode scripts to the test
The example characters for each script were
picked from the delta charts at
https://www.unicode.org/charts/PDF/Unicode-14.0/.
glib/tests/unicode.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/glib/tests/unicode.c b/glib/tests/unicode.c
index 1d4e37c99..6049260ec 100644
--- a/glib/tests/unicode.c
+++ b/glib/tests/unicode.c
@@ -337,6 +337,11 @@ test_unichar_script (void)
{ G_UNICODE_SCRIPT_DIVES_AKURU, 0x11900 },
{ G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT, 0x18B00 },
{ G_UNICODE_SCRIPT_YEZIDI, 0x10E80 },
+ { G_UNICODE_SCRIPT_CYPRO_MINOAN, 0x12F90 },
+ { G_UNICODE_SCRIPT_OLD_UYGHUR, 0x10F70 },
+ { G_UNICODE_SCRIPT_TANGSA, 0x16A70 },
+ { G_UNICODE_SCRIPT_TOTO, 0x1E290 },
+ { G_UNICODE_SCRIPT_VITHKUQI, 0x10570 }
};
for (i = 0; i < G_N_ELEMENTS (examples); i++)
g_assert_cmpint (g_unichar_get_script (examples[i].c), ==, examples[i].script);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]