Add a test for short compose sequences

Add a table that has a short sequence
to verify that we can parse this.
This commit is contained in:
Matthias Clasen 2022-09-12 22:21:39 -04:00
parent aac3f1860f
commit 72d6241c84
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
<q> : "qq"

View File

@ -0,0 +1,6 @@
# n_sequences: 1
# max_seq_len: 1
# n_index_size: 1
# data_size: 4
# n_chars: 3
<U71> : "qq"

View File

@ -436,6 +436,7 @@ main (int argc, char *argv[])
g_test_add_data_func ("/compose-table/codepoint", "codepoint", compose_table_compare);
g_test_add_data_func ("/compose-table/multi", "multi", compose_table_compare);
g_test_add_data_func ("/compose-table/strings", "strings", compose_table_compare);
g_test_add_data_func ("/compose-table/single", "single", compose_table_compare);
g_test_add_data_func ("/compose-table/include", "include", compose_table_compare);
g_test_add_data_func ("/compose-table/system", "system", compose_table_compare);
g_test_add_func ("/compose-table/include-cycle", compose_table_cycle);