[pango/tests-and-fixes: 4/7] tests: Add some more break testcases
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/tests-and-fixes: 4/7] tests: Add some more break testcases
- Date: Thu, 8 Jul 2021 00:43:44 +0000 (UTC)
commit b6178a3122264809210dc257f553057c91f41a17
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 7 00:09:28 2021 -0400
tests: Add some more break testcases
tests/breaks/nine.break | 6 ++++++
tests/breaks/nine.expected | 5 +++++
tests/breaks/ten.break | 2 ++
tests/breaks/ten.expected | 5 +++++
4 files changed, 18 insertions(+)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]