[pango/log-attr-tweaks] Add more break tests



commit 04d59ab0df257dc5a4bbc1bf9b2117afe3f1093b
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 24 01:21:43 2021 -0400

    Add more break tests

 tests/breaks/five.break     | 2 ++
 tests/breaks/five.expected  | 6 ++++++
 tests/breaks/seven.break    | 2 ++
 tests/breaks/seven.expected | 6 ++++++
 tests/breaks/six.break      | 1 +
 tests/breaks/six.expected   | 6 ++++++
 6 files changed, 23 insertions(+)
---
diff --git a/tests/breaks/five.break b/tests/breaks/five.break
new file mode 100644
index 00000000..3256714d
--- /dev/null
+++ b/tests/breaks/five.break
@@ -0,0 +1,2 @@
+# test numbers and things
+200 24.10 99% alpha10beta 100-10 greek-roman
diff --git a/tests/breaks/five.expected b/tests/breaks/five.expected
new file mode 100644
index 00000000..9348c19b
--- /dev/null
+++ b/tests/breaks/five.expected
@@ -0,0 +1,6 @@
+Text:         ⁦2⁩ ⁦0⁩ ⁦0⁩  [ ]  ⁦2⁩ ⁦4⁩ ⁦.⁩ ⁦1⁩ ⁦0⁩  [ ]  ⁦9⁩ ⁦9⁩  ⁦%⁩ [ ]  ⁦a⁩ ⁦l⁩ ⁦p⁩ ⁦h⁩ ⁦a⁩ ⁦1⁩ ⁦0⁩ ⁦b⁩ 
⁦e⁩ ⁦t⁩ ⁦a⁩  [ ]  ⁦1⁩ ⁦0⁩ ⁦0⁩  ⁦-⁩  ⁦1⁩ ⁦0⁩  [ ]  ⁦g⁩ ⁦r⁩ ⁦e⁩ ⁦e⁩ ⁦k⁩  ⁦-⁩  ⁦r⁩ ⁦o⁩ ⁦m⁩ ⁦a⁩ ⁦n⁩  [0x0a]  
+Breaks:     c  c c c    lc c c c c c    lc c c  c   lc c c c c c c c c c c c    lc c c c  c  c c    lc c c c 
c c  lc c c c c c       Lc
+Whitespace:        x               x            x                          x                   x             
                w       w 
+Sentences:  bs                                                                                               
                e       b 
+Words:      bs     be   bs   e s   be   bs   be b   bs                     be   bs     be bs   be   bs       
  be bs         be      b 
+Graphemes:  b  b b b    b  b b b b b    b  b b  b   b  b b b b b b b b b b b    b  b b b  b  b b    b  b b b 
b b  b  b b b b b       b 
diff --git a/tests/breaks/seven.break b/tests/breaks/seven.break
new file mode 100644
index 00000000..167a17b7
--- /dev/null
+++ b/tests/breaks/seven.break
@@ -0,0 +1,2 @@
+bla
+bla
diff --git a/tests/breaks/seven.expected b/tests/breaks/seven.expected
new file mode 100644
index 00000000..d6a52a0a
--- /dev/null
+++ b/tests/breaks/seven.expected
@@ -0,0 +1,6 @@
+Text:         ⁦b⁩ ⁦l⁩ ⁦a⁩  [0x0a]  ⁦b⁩ ⁦l⁩ ⁦a⁩  [0x0a]  
+Breaks:     c  c c c       Lc c c c       Lc
+Whitespace:        w              w       w 
+Sentences:  bs     e       bs     e       b 
+Words:      bs     be      bs     be      b 
+Graphemes:  b  b b b       b  b b b       b 
diff --git a/tests/breaks/six.break b/tests/breaks/six.break
new file mode 100644
index 00000000..2ad5b472
--- /dev/null
+++ b/tests/breaks/six.break
@@ -0,0 +1 @@
+a file:///ho/bo-mo/Bla.txt file
diff --git a/tests/breaks/six.expected b/tests/breaks/six.expected
new file mode 100644
index 00000000..5e548add
--- /dev/null
+++ b/tests/breaks/six.expected
@@ -0,0 +1,6 @@
+Text:         ⁦a⁩  [ ]  ⁦f⁩ ⁦i⁩ ⁦l⁩ ⁦e⁩  ⁦:⁩ ⁦/⁩ ⁦/⁩ ⁦/⁩  ⁦h⁩ ⁦o⁩  ⁦/⁩  ⁦b⁩ ⁦o⁩  ⁦-⁩  ⁦m⁩ ⁦o⁩  ⁦/⁩  ⁦B⁩ ⁦l⁩ 
⁦a⁩ ⁦.⁩ ⁦t⁩ ⁦x⁩ ⁦t⁩  [ ]  ⁦f⁩ ⁦i⁩ ⁦l⁩ ⁦e⁩  [0x0a]  
+Breaks:     c  c    lc c c c c  c c c lc c c  lc c c  lc c c  lc c c c c c c c    lc c c c c       Lc
+Whitespace:    x                                                             x             w       w 
+Sentences:  bs                                                                             e       b 
+Words:      bs be   bs       be b b b bs   be bs   be bs   be bs     e s     be   bs       be      b 
+Graphemes:  b  b    b  b b b b  b b b b  b b  b  b b  b  b b  b  b b b b b b b    b  b b b b       b 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]