[vte/wip/egmont/bidi: 64/82] refactor box tests



commit b0c25690ff51c4949042bd61162b8e0ee104ae1d
Author: Egmont Koblinger <egmont gmail com>
Date:   Tue Aug 28 14:58:20 2018 +0200

    refactor box tests

 doc/bidi.txt | 72 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)
---
diff --git a/doc/bidi.txt b/doc/bidi.txt
index eb8ff2a7..7833cbef 100644
--- a/doc/bidi.txt
+++ b/doc/bidi.txt
@@ -41,12 +41,12 @@ Boxes should all show up nicely.
 a๏ผœz  ื๏ผœืช
 
 Box
-โ”โ”โ”“    โ•”โ•โ•—    โ”Œโ”€โ”    โ•ญโ”€โ•ฎ
-โ”—โ”โ”›   aโ•šโ•โ•b  ืโ”˜โ”€โ””ื‘   โ•ฐโ”€โ•ฏ
+โ”โ”โ”“   aโ•”โ•โ•—z  nโ”Œโ”€โ”x   โ•ญโ”€โ•ฎ
+โ”—โ”โ”›   aโ•šโ•โ•z  ืโ”˜โ”€โ””ืช   โ•ฐโ”€โ•ฏ
 
-Box in mirrored mode[?2500h
-โ”โ”โ”“    โ•”โ•โ•—    โ”Œโ”€โ”    โ•ญโ”€โ•ฎ
-โ”—โ”โ”›   aโ•šโ•โ•b  ืโ””โ”€โ”˜ื‘   โ•ฐโ”€โ•ฏ[?2500l
+Box in mirrored mode
+โ”โ”โ”“   aโ•”โ•โ•—z  nโ”Œโ”€โ”x   โ•ญโ”€โ•ฎ[?2500h
+โ”—โ”โ”›   aโ•šโ•โ•z  ืโ””โ”€โ”˜ืช   โ•ฐโ”€โ•ฏ[?2500l
 
                                 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค Implicit RTL โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
@@ -65,7 +65,7 @@ Boxes should all show up nicely.
 
 Shlm01 โธคShlm02โธฃ Shlm03 Hello01 โธคHello02โธฃ Hello03
                                 Hello01 โธคHello02โธฃ Hello03 03oi7w โธข02oi7wโธฅ 01oi7w
-[3 Sืฉึธืืœื•ึนื01 โธคืฉึธืืœื•ึนื02โธฃ ืฉึธืืœื•ึนื03 Hello01 โธคHello02โธฃ Hello03[0 S
+z[3 Sืฉึธืืœื•ึนื01 โธคืฉึธืืœื•ึนื02โธฃ ืฉึธืืœื•ึนื03 Hello01 โธคHello02โธฃ Hello03[0 S
 
 Paragraph with wrong direction (should look broken)
 w Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
@@ -76,13 +76,13 @@ Boxes should all show up nicely.
                                                                       a๏ผœz  n๏ผžx
 [3 Sื๏ผœืช  a๏ผœz[0 S
 
-Box[3 S
-โ”“โ”โ”    โ•—โ•โ•”    โ”โ”€โ”Œ    โ•ฎโ”€โ•ญ
-โ”›โ”โ”—   aโ•šโ•โ•b  ืโ”˜โ”€โ””ื‘   โ•ฏโ”€โ•ฐ[0 S
+Box
+                                                        โ•ญโ”€โ•ฎ   aโ”Œโ”€โ”z  nโ•”โ•โ•—x   โ”โ”โ”“[3 S
+โ”›โ”โ”—   ืโ•โ•โ•šืช  aโ””โ”€โ”˜z   โ•ฏโ”€โ•ฐ[0 S
 
-Box in mirrored mode[3 S[?2500h
-โ”โ”โ”“    โ•”โ•โ•—    โ”Œโ”€โ”    โ•ญโ”€โ•ฎ
-โ”—โ”โ”›   aโ•šโ•โ•b  ืโ””โ”€โ”˜ื‘   โ•ฐโ”€โ•ฏ[?2500l[0 S
+Box in mirrored mode
+                                                        โ•ญโ”€โ•ฎ   aโ”Œโ”€โ”z  nโ•”โ•โ•—x   โ”โ”โ”“[3 S[?2500h
+โ”—โ”โ”›   ืโ•šโ•โ•ืช  aโ””โ”€โ”˜z   โ•ฐโ”€โ•ฏ[?2500l[0 S
 
                         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค Implicit auto (LTR fallback) โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
@@ -100,13 +100,13 @@ Boxes should all show up nicely.
 oi7 incididunt ut labore et dolore magna aliqua.
 [?2501hLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor ืฉึธืืœื•ึนื 
incididunt ut labore et dolore magna aliqua.[?2501l
 
-Box[?2501h
-โ”โ”โ”“    โ•”โ•โ•—    โ”Œโ”€โ”    โ•ญโ”€โ•ฎ
-โ”—โ”โ”›   aโ•šโ•โ•b  ืโ”˜โ”€โ””ื‘   โ•ฐโ”€โ•ฏ[?2501l
+Box
+โ”โ”โ”“   aโ•”โ•โ•—z  nโ”Œโ”€โ”x   โ•ญโ”€โ•ฎ[?2501h
+โ”—โ”โ”›   aโ•šโ•โ•z  ืโ”˜โ”€โ””ืช   โ•ฐโ”€โ•ฏ[?2501l
 
-Box in mirrored mode[?2501h[?2500h
-โ”โ”โ”“    โ•”โ•โ•—    โ”Œโ”€โ”    โ•ญโ”€โ•ฎ
-โ”—โ”โ”›   aโ•šโ•โ•b  ืโ””โ”€โ”˜ื‘   โ•ฐโ”€โ•ฏ[?2500l[?2501l
+Box in mirrored mode
+โ”โ”โ”“   aโ•”โ•โ•—z  nโ”Œโ”€โ”x   โ•ญโ”€โ•ฎ[?2501h[?2500h
+โ”—โ”โ”›   aโ•šโ•โ•z  ืโ””โ”€โ”˜ืช   โ•ฐโ”€โ•ฏ[?2500l[?2501l
 
                         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค Implicit auto (RTL fallback) โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
@@ -124,13 +124,13 @@ Boxes should all show up nicely.
 oi7 incididunt ut labore et dolore magna aliqua.
 [3 S[?2501hLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor ืฉึธืืœื•ึนื 
incididunt ut labore et dolore magna aliqua.[?2501l[0 S
 
-Box[3 S[?2501h
-โ”“โ”โ”    โ•—โ•โ•”    โ”โ”€โ”Œ    โ•ฎโ”€โ•ญ
-โ”›โ”โ”—   ืโ•โ•โ•šื‘  aโ””โ”€โ”˜b   โ•ฏโ”€โ•ฐ[?2501l[0 S
+Box
+                                                        โ•ญโ”€โ•ฎ   aโ”Œโ”€โ”z  nโ•”โ•โ•—x   โ”โ”โ”“[3 S[?2501h
+โ”›โ”โ”—   ืโ•โ•โ•šืช  aโ””โ”€โ”˜z   โ•ฏโ”€โ•ฐ[?2501l[0 S
 
-Box in mirrored mode[3 S[?2501h[?2500h
-โ”โ”โ”“    โ•”โ•โ•—    โ”Œโ”€โ”    โ•ญโ”€โ•ฎ
-โ”—โ”โ”›   ืโ•šโ•โ•ื‘  aโ””โ”€โ”˜b   โ•ฐโ”€โ•ฏ[?2500l[?2501l[0 S
+Box in mirrored mode
+                                                        โ•ญโ”€โ•ฎ   aโ”Œโ”€โ”z  nโ•”โ•โ•—x   โ”โ”โ”“[3 S[?2501h[?2500h
+โ”—โ”โ”›   ืโ•šโ•โ•ืช  aโ””โ”€โ”˜z   โ•ฐโ”€โ•ฏ[?2500l[?2501l[0 S
 
                                 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค Explicit LTR โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
@@ -143,13 +143,13 @@ Boxes should all show up nicely.
 โธคoi7wโธฃ โธคHelloโธฃ
 โธคืื•ึนืœืฉึธืโธฃ โธคHelloโธฃ
 
-Box
-โ”โ”โ”“    โ•”โ•โ•—    โ”Œโ”€โ”    โ•ญโ”€โ•ฎ
-โ”—โ”โ”›   aโ•šโ•โ•b  ื‘โ””โ”€โ”˜ื   โ•ฐโ”€โ•ฏ
+Box
+โ”โ”โ”“   aโ•”โ•โ•—z  nโ”Œโ”€โ”x   โ•ญโ”€โ•ฎ
+โ”—โ”โ”›   aโ•šโ•โ•z  ืชโ””โ”€โ”˜ื   โ•ฐโ”€โ•ฏ
 
-Box in mirrored mode[?2500h
-โ”โ”โ”“    โ•”โ•โ•—    โ”Œโ”€โ”    โ•ญโ”€โ•ฎ
-โ”—โ”โ”›   aโ•šโ•โ•b  ื‘โ””โ”€โ”˜ื   โ•ฐโ”€โ•ฏ[?2500l
+Box in mirrored mode
+โ”โ”โ”“   aโ•”โ•โ•—z  nโ”Œโ”€โ”x   โ•ญโ”€โ•ฎ[?2500h
+โ”—โ”โ”›   aโ•šโ•โ•z  ืชโ””โ”€โ”˜ื   โ•ฐโ”€โ•ฏ[?2500l
 
                                 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค Explicit RTL โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
@@ -166,12 +166,12 @@ Boxes should all show up nicely.
                         ๏ผป๏ผฌ๏ฝ๏ฝ’๏ฝ…๏ฝ  ๏ฝ‰๏ฝ๏ฝ“๏ฝ•๏ฝ  ๏ฝ„๏ฝ๏ฝŒ๏ฝ๏ฝ’  ๏ฝ“๏ฝ‰๏ฝ”  [4:3m๏ฝ๏ฝ๏ฝ…๏ฝ”๏ผ‰
 [3 S[4:3m๏ผˆ๏ฝ”๏ฝ…๏ฝ๏ฝ  ๏ฝ”๏ฝ‰๏ฝ“  ๏ฝ’๏ฝ๏ฝŒ๏ฝ๏ฝ„  ๏ฝ๏ฝ•๏ฝ“๏ฝ๏ฝ‰  ๏ฝ๏ฝ…๏ฝ’๏ฝ๏ผฌ๏ผฝ[0 S
 
-Box[3 S
-โ”“โ”โ”    โ•—โ•โ•”    โ”โ”€โ”Œ    โ•ฎโ”€โ•ญ
-โ”›โ”โ”—   bโ•โ•โ•ša  ืโ”˜โ”€โ””ื‘   โ•ฏโ”€โ•ฐ[0 S
+Box
+                                                        โ•ญโ”€โ•ฎ   aโ”Œโ”€โ”z  nโ•”โ•โ•—x   โ”โ”โ”“[3 S
+โ”›โ”โ”—   ืโ•โ•โ•šืช  zโ”˜โ”€โ””a   โ•ฏโ”€โ•ฐ[0 S
 
-Box in mirrored mode[3 S[?2500h
-โ”โ”โ”“    โ•”โ•โ•—    โ”Œโ”€โ”    โ•ญโ”€โ•ฎ
-โ”—โ”โ”›   bโ•šโ•โ•a  ืโ””โ”€โ”˜ื‘   โ•ฐโ”€โ•ฏ[?2500l[0 S
+Box in mirrored mode
+                                                        โ•ญโ”€โ•ฎ   aโ”Œโ”€โ”z  nโ•”โ•โ•—x   โ”โ”โ”“[3 S[?2500h
+โ”—โ”โ”›   ืโ•šโ•โ•ืช  zโ””โ”€โ”˜a   โ•ฐโ”€โ•ฏ[?2500l[0 S
 
 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€


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