diff --git a/test/graphemetest.c b/test/graphemetest.c index cc299c1..6fbe5bd 100644 --- a/test/graphemetest.c +++ b/test/graphemetest.c @@ -119,6 +119,13 @@ int main(int argc, char **argv) checkline("/ 1f926 1f3fc 200d 2642 fe0f /", true); /* facepalm + pale skin + zwj + male sign + FE0F */ checkline("/ 1f468 1f3fb 200d 1f91d 200d 1f468 1f3fd /", true); /* man face + pale skin + zwj + hand holding + zwj + man face + dark skin */ + /* more GB9c tests */ + checkline("/ 0915 0300 094d 0300 0924 / 0915 /", true); + checkline("/ 0915 0300 094d 0300 094d 0924 / 0915 /", true); + checkline("/ 0915 0300 0300 / 0924 / 0915 /", true); + checkline("/ 0915 0300 094d 0300 / 0078 /", true); + checkline("/ 0300 094d 0300 / 0924 / 0915 /", true); + check(utf8proc_grapheme_break(0x03b1, 0x03b2), "failed 03b1 / 03b2 test"); check(!utf8proc_grapheme_break(0x03b1, 0x0302), "failed 03b1 0302 test");