diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-07 00:09:28 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-07 00:09:28 -0400 |
commit | b6178a3122264809210dc257f553057c91f41a17 (patch) | |
tree | bfbb84eabeb3bd1db9a00e2bb8bfc95a50771f45 | |
parent | a83a9a76cf42a8fc7ada3d38cf214f0929c00ec8 (diff) | |
download | pango-b6178a3122264809210dc257f553057c91f41a17.tar.gz |
tests: Add some more break testcases
-rw-r--r-- | tests/breaks/nine.break | 6 | ||||
-rw-r--r-- | tests/breaks/nine.expected | 5 | ||||
-rw-r--r-- | tests/breaks/ten.break | 2 | ||||
-rw-r--r-- | tests/breaks/ten.expected | 5 |
4 files changed, 18 insertions, 0 deletions
diff --git a/tests/breaks/nine.break b/tests/breaks/nine.break new file mode 100644 index 00000000..14f2e1da --- /dev/null +++ b/tests/breaks/nine.break @@ -0,0 +1,6 @@ +# indic +मी काच खाऊ शकतो, मला ते दुखत नाह +मैं काँच खा सकता हूँ, मुझे उस से कोई पीडा नहीं होत +நான் கண்ணாடி சாப்பிடுவேன், அதனால் எனக்கு ஒரு கேடும் வராத +ﻢﯾں ﮎﺎﻨﭼ ﮎھﺍ ﺲﮑﺗﺍ ہﻭں ﺍﻭﺭ ﻢﺟھے ﺖﮑﻠﯿﻓ ﻥہﯼں ہﻮﺘﯾ +ﺰﻫ ﺶﻴﺸﻫ ﺥﻭړﻝې ﺶﻣ، ﻪﻐﻫ ﻡﺍ ﻦﻫ ﺥﻭږﻮﻳ diff --git a/tests/breaks/nine.expected b/tests/breaks/nine.expected new file mode 100644 index 00000000..7f38803d --- /dev/null +++ b/tests/breaks/nine.expected @@ -0,0 +1,5 @@ +Text: मी [ ] का च [ ] खा ऊ [ ] श क तो , [ ] म ला [ ] ते [ ] दु ख त [ ] ना ह [0x0a] मैं [ ] काँ च [ ] खा [ ] स क ता [ ] हूँ , [ ] मु झे [ ] उ स [ ] से [ ] को ई [ ] पी डा [ ] न हीं [ ] हो त [0x0a] நா ன் [ ] க ண் ணா டி [ ] சா ப் பி டு வே ன் , [ ] அ த னா ல் [ ] எ ன க் கு [ ] ஒ ரு [ ] கே டு ம் [ ] வ ரா த [0x0a] ﻢ ﯾ ں [ ] ﮎ ﺎ ﻨ ﭼ [ ] ﮎ ھ ﺍ [ ] ﺲ ﮑ ﺗ ﺍ [ ] ہ ﻭ ں [ ] ﺍ ﻭ ﺭ [ ] ﻢ ﺟ ھ ے [ ] ﺖ ﮑ ﻠ ﯿ ﻓ [ ] ﻥ ہ ﯼ ں [ ] ہ ﻮ ﺘ ﯾ [ ] [0x0a] ﺰ ﻫ [ ] ﺶ ﻴ ﺸ ﻫ [ ] ﺥ ﻭ ړ ﻝ ې [ ] ﺶ ﻣ ، [ ] ﻪ ﻐ ﻫ [ ] ﻡ ﺍ [ ] ﻦ ﻫ [ ] ﺥ ﻭ ږ ﻮ ﻳ [0x0a] +Breaks: c c lc c c lc c c lc c c c c lc c c lc c lc c c c lc c c c c lc c c lc c lc c c c lc c c lc c c lc c c lc c lc c c lc c c lc c c lc c c c c c lc c c c c lc c c c c c c c lc c c c c lc c c c c lc c c lc c c c lc c c c c c c c lc c c c c lc c c c lc c c c c lc c c c lc c c c lc c c c c lc c c c c c lc c c c c lc c c c c c c c c lc c c c c lc c c c c c lc c c c lc c c c lc c c lc c c lc c c c c c c +Whitespace: x x x x x x x w x x x x x x x x x x x w x x x x x x x w x x x x x x x x x x w x x x x x x x w w +Words: bs be bs be bs be bs be b bs be bs be bs be bs be bs be bs be bs be bs be bs be b bs be bs be bs be bs be bs be bs be bs be bs be bs be bs be b bs be bs be bs be bs be bs be bs be bs be bs be bs be bs be bs be bs be bs be bs be bs be b bs be bs be bs be bs be b bs be bs be bs be bs be b +Sentences: bs e bs e bs e bs e bs e b diff --git a/tests/breaks/ten.break b/tests/breaks/ten.break new file mode 100644 index 00000000..d3cbd982 --- /dev/null +++ b/tests/breaks/ten.break @@ -0,0 +1,2 @@ +# some special combinations to hit branches in break-indic.c +iක්ක aa் diff --git a/tests/breaks/ten.expected b/tests/breaks/ten.expected new file mode 100644 index 00000000..29f46183 --- /dev/null +++ b/tests/breaks/ten.expected @@ -0,0 +1,5 @@ +Text: i ක්[0x200d]ක [ ] a[0x200c] a் [0x0a] +Breaks: c c c lc c c c +Whitespace: x w w +Words: bs be bs be b +Sentences: bs e b |