summaryrefslogtreecommitdiff
path: root/tests/test-bidi.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-04 16:14:40 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-04 18:09:15 -0400
commitaa69d8a62b1afb5eaee63f32cde6e4f00d9702d1 (patch)
tree7a748a8844f603cf68fad2a3495f0a7035c61247 /tests/test-bidi.c
parentbdfdadfa517e931138e42055472068b48f54ad14 (diff)
downloadpango-aa69d8a62b1afb5eaee63f32cde6e4f00d9702d1.tar.gz
Add some more bidi embedding level tests
Diffstat (limited to 'tests/test-bidi.c')
-rw-r--r--tests/test-bidi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-bidi.c b/tests/test-bidi.c
index 48d2a81f..fbdcc8cb 100644
--- a/tests/test-bidi.c
+++ b/tests/test-bidi.c
@@ -125,6 +125,8 @@ test_bidi_embedding_levels (void)
{ "The title is مفتاح معايير الويب⁧!⁩ in Arabic.", PANGO_DIRECTION_LTR, "\0\0\0\0\0\0\0\0\0\0\0\0\0\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\0\1\0\0\0\0\0\0\0\0\0\0\0", PANGO_DIRECTION_LTR }, // FIXME
{ "one two ثلاثة 1234 خمسة", PANGO_DIRECTION_LTR, "\0\0\0\0\0\0\0\0\1\1\1\1\1\1\2\2\2\2\1\1\1\1\1", PANGO_DIRECTION_LTR },
{ "one two ثلاثة ١٢٣٤ خمسة", PANGO_DIRECTION_LTR, "\0\0\0\0\0\0\0\0\1\1\1\1\1\1\2\2\2\2\1\1\1\1\1", PANGO_DIRECTION_LTR },
+ { "abאב12cd", PANGO_DIRECTION_LTR, "\0\0\1\1\2\2\0\0" },
+ { "abאב‪xy‬cd", PANGO_DIRECTION_LTR, "\0\0\1\1\1\2\2\2\0\0" },
};