Debian Codegraph @

tests/braille-specs/de-g1-detailed-specs.yaml

raw symbols SCIP
1 display: unicode-without-blank.dis
2 table:
3 language: de
4 grade: 1
5 type: literary
6 dots: 6
7 variant: detailed
8 __assert-match: de-g1-detailed.ctb
9 flags: {testmode: bothDirections}
10 tests:
11 # These tests should pass in both directions.
12 - [" ", " "]
13 - ["!", "⠖"]
14 - ['"', '⠦']
15 - ["#", "⠈⠼"]
16 - ["$", "⠈⠎"]
17 - ["%", "⠼⠚⠴"]
18 - ["&", "⠐⠥"]
19 - ["'", "⠠", xfail: {backward: "conflicts with endcaps"}]
20 - ["*", "⠠⠔"]
21 - ["+", "⠈⠖"]
22 - [",", "⠂"]
23 - ["-", "⠤"]
24 - [".", "⠄"]
25 - ["/", "⠐⠂"]
26 - ["0", "⠼⠚"]
27 - ["1", "⠼⠁"]
28 - ["2", "⠼⠃"]
29 - ["3", "⠼⠉"]
30 - ["4", "⠼⠙"]
31 - ["5", "⠼⠑"]
32 - ["6", "⠼⠋"]
33 - ["7", "⠼⠛"]
34 - ["8", "⠼⠓"]
35 - ["9", "⠼⠊"]
36 - [":", "⠒"]
37 - [";", "⠆"]
38 - ["<", "⠈⠪⠄"]
39 - ["=", "⠈⠶"]
40 - [">", "⠈⠕⠂"]
41 - ["?", "⠢"]
42 - ["@", "⠠⠨⠈⠜"]
43 - ["A", "⠘⠁"]
44 - ["B", "⠘⠃"]
45 - ["C", "⠘⠉"]
46 - ["D", "⠘⠙"]
47 - ["E", "⠘⠑"]
48 - ["F", "⠘⠋"]
49 - ["G", "⠘⠛"]
50 - ["H", "⠘⠓"]
51 - ["I", "⠘⠊"]
52 - ["J", "⠘⠚"]
53 - ["K", "⠘⠅"]
54 - ["L", "⠘⠇"]
55 - ["M", "⠘⠍"]
56 - ["N", "⠘⠝"]
57 - ["O", "⠘⠕"]
58 - ["P", "⠘⠏"]
59 - ["Q", "⠘⠟"]
60 - ["R", "⠘⠗"]
61 - ["S", "⠘⠎"]
62 - ["T", "⠘⠞"]
63 - ["U", "⠘⠥"]
64 - ["V", "⠘⠧"]
65 - ["W", "⠘⠺"]
66 - ["X", "⠘⠭"]
67 - ["Y", "⠘⠽"]
68 - ["Z", "⠘⠵"]
69 - ["[", "⠠⠶"]
70 - ['\\', '⠈⠌']
71 - ["^", "⠈⠮", xfail: {backward: "conflicts with è"}]
72 - ["_", "⠈⠸"]
73 - ["a", "⠁"]
74 - ["b", "⠃"]
75 - ["c", "⠉"]
76 - ["d", "⠙"]
77 - ["e", "⠑"]
78 - ["f", "⠋"]
79 - ["g", "⠛"]
80 - ["h", "⠓"]
81 - ["i", "⠊"]
82 - ["j", "⠚"]
83 - ["k", "⠅"]
84 - ["l", "⠇"]
85 - ["m", "⠍"]
86 - ["n", "⠝"]
87 - ["o", "⠕"]
88 - ["p", "⠏"]
89 - ["q", "⠟"]
90 - ["r", "⠗"]
91 - ["s", "⠎"]
92 - ["t", "⠞"]
93 - ["u", "⠥"]
94 - ["v", "⠧"]
95 - ["w", "⠺"]
96 - ["x", "⠭"]
97 - ["y", "⠽"]
98 - ["z", "⠵"]
99 - ["{", "⠐⠷"]
100 - ["|", "⠐⠤", xfail: {backward: "conflicts with broken bar"}]
101 - ["~", "⠈⠢⠢", {xfail: extra space}]
102 - ["€", "⠈⠑"]
103 - ["ƒ", "⠈⠋"]
104 - ["‰", "⠼⠚⠴⠴"]
105 - ["Œ", "⠘⠈⠪"]
106 - ["‘", "⠠⠦"]
107 - ["’", "⠠⠴"]
108 - ["“", "⠦", xfail: {backward: true}]
109 - ["”", "⠴", xfail: {backward: true}]
110 - ["–", "⠠⠤"]
111 - ["™", "⠠⠶⠘⠞⠍⠶"]
112 - ["œ", "⠈⠪"]
113 - ["¡", "⠠⠖"]
114 - ["¢", "⠈⠉"]
115 - ["£", "⠈⠇"]
116 - ["¥", "⠈⠽"]
117 - ["¦", "⠐⠤"]
118 - ["§", "⠬"]
119 - ["©", "⠶⠘⠉⠶"]
120 - ["¬", "⠈⠒⠔"]
121 - ["®", "⠠⠶⠘⠗⠶"]
122 - ["°", "⠈⠴"]
123 - ["²", "⠌⠆"]
124 - ["³", "⠌⠒"]
125 - ["µ", "⠰⠍"]
126 - ["¼", "⠼⠁⠲"]
127 - ["½", "⠼⠁⠆"]
128 - ["¾", "⠼⠉⠲"]
129 - ["À", "⠘⠈⠷"]
130 - ["Â", "⠘⠈⠡"]
131 - ["Ä", "⠘⠜"]
132 - ["Ç", "⠘⠈⠯"]
133 - ["È", "⠘⠈⠮"]
134 - ["É", "⠘⠈⠿"]
135 - ["Ê", "⠘⠈⠣"]
136 - ["Ë", "⠘⠈⠫"]
137 - ["Ì", "⠘⠈⠌", xfail: {backward: "Conflicts with backslash"}]
138 - ["Î", "⠘⠈⠩"]
139 - ["Ï", "⠘⠈⠻"]
140 - ["Ð", "⠘⠈⠙"]
141 - ["Ñ", "⠘⠈⠝"]
142 - ["Ò", "⠘⠈⠬"]
143 - ["Ô", "⠘⠈⠹"]
144 - ["Ö", "⠘⠪"]
145 - ["×", "⠈⠦"]
146 - ["Ù", "⠘⠈⠾"]
147 - ["Û", "⠘⠈⠱"]
148 - ["Ü", "⠘⠳"]
149 - ["Þ", "⠘⠈⠞"]
150 - ["ß", "⠮"]
151 - ["à", "⠈⠷"]
152 - ["â", "⠈⠡"]
153 - ["ä", "⠜"]
154 - ["ç", "⠈⠯"]
155 - ["è", "⠈⠮"]
156 - ["é", "⠈⠿"]
157 - ["ê", "⠈⠣"]
158 - ["ë", "⠈⠫"]
159 - ["ì", "⠈⠌", xfail: {backward: "Conflicts with backslash"}]
160 - ["î", "⠈⠩"]
161 - ["ï", "⠈⠻"]
162 - ["ð", "⠈⠙"]
163 - ["ñ", "⠈⠝"]
164 - ["ò", "⠈⠬"]
165 - ["ô", "⠈⠹"]
166 - ["ö", "⠪"]
167 - ["÷", "⠈⠒"]
168 - ["ù", "⠈⠾"]
169 - ["û", "⠈⠱"]
170 - ["ü", "⠳"]
171 - ["þ", "⠈⠞"]
172
173 # Pangram
174 - ["Zwölf Boxkämpfer jagen Viktor quer über den großen Sylter Deich", "⠨⠵⠺⠪⠇⠋ ⠨⠃⠕⠭⠅⠜⠍⠏⠋⠑⠗ ⠚⠁⠛⠑⠝ ⠨⠧⠊⠅⠞⠕⠗ ⠟⠥⠑⠗ ⠳⠃⠑⠗ ⠙⠑⠝ ⠛⠗⠕⠮⠑⠝ ⠨⠎⠽⠇⠞⠑⠗ ⠨⠙⠩⠹"]
175
176 # 2.3 Numbers
177
178 - ["#936", "⠈⠼⠼⠊⠉⠋"]
179 - ["2,5", "⠼⠃⠂⠑"]
180 - ["3.50 Uhr", "⠼⠉⠄⠑⠚ ⠨⠥⠓⠗"]
181 - ["1.234.567.890", "⠼⠁⠄⠃⠉⠙⠄⠑⠋⠛⠄⠓⠊⠚"]
182
183 #Phone number (with spaces, not dots)
184 - ["0041/43/3 33 32 32", "⠼⠚⠚⠙⠁⠐⠂⠼⠙⠉⠐⠂⠼⠉ ⠼⠉⠉ ⠼⠉⠃ ⠼⠉⠃"]
185 - ["'56", "⠼⠠⠑⠋"]
186 - [".303", "⠼⠄⠉⠚⠉"]
187 - ["€ -,25", "⠈⠑⠼⠂⠃⠑", xfail: {forward: true, backward: true}]
188
189 - ["3 %", "⠼⠉⠼⠚⠴"]
190 - ["7,5 %", "⠼⠛⠂⠑⠼⠚⠴"]
191 - ["75 ‰", "⠼⠛⠑⠼⠚⠴⠴"]
192 - ["45°", "⠼⠙⠑⠈⠴", xfail: {backward: "adds space"}]
193 - ["24 °C", "⠼⠃⠙⠈⠴⠘⠉", xfail: {forward: "C should be 45-14"}]
194 - ["§ 4", "⠬⠼⠙"]
195 - ["§ III", "⠬⠘⠊⠊⠊", xfail: {forward: "Prepends 4-"}]
196 - ["§§ 7-11", "⠬⠬⠼⠛⠤⠼⠁⠁"]
197
198 # Percent, permille and degrees with space
199 - ["1 % 2 ‰ 3 °", "⠼⠁⠼⠚⠴ ⠼⠃⠼⠚⠴⠴ ⠼⠉⠈⠴"]
200
201 # Math signs as midnum
202 - [2 \x2217 2, "⠼⠃⠄⠼⠃", xfail: {backward: "broken midnum"}]
203
204 - ["11:25 Uhr", "⠼⠁⠁⠠⠒⠃⠑ ⠨⠥⠓⠗", {xfail: "FT: Colon should apparently be 6-25"}]
205
206 # Numbers in words
207 - ["8fach", "⠼⠓⠠⠋⠁⠹"]
208 - ["68er", "⠼⠋⠓⠠⠑⠗"]
209 - ["32stel", "⠼⠉⠃⠾⠑⠇", xfail: {backward: "st backtranslates as }"}]
210 - ["5te", "⠼⠑⠞⠑"]
211
212 # Capitals
213 - ["AUA", "⠘⠁⠥⠁"]
214 - ["ČSSR", "⠘⠈⠉⠎⠎⠗", xfail: {backward: "Backtranslates as cents"}]
215 - ["U-Bahn", "⠘⠥⠤⠨⠃⠁⠓⠝"]
216 - ["kW kVA hPa", "⠅⠘⠺ ⠅⠘⠧⠁ ⠓⠨⠏⠁"]
217 - ["GmbH ICs KPdSU", "⠨⠛⠍⠃⠘⠓ ⠘⠊⠉⠠⠎ ⠘⠅⠏⠠⠙⠘⠎⠥", xfail: {backward: "BT as '"}]
218
219
220 # "correct" rules
221 - [" -1", " ⠈⠤⠼⠁", xfail: {backward: true}]
222 - ["/-4abc- ", "⠐⠂⠤⠼⠙⠠⠁⠃⠉⠤ "]
223
224 # Computer braille
225 - [":/1234567890`äöü", "⠠⠨⠒⠲⠡⠣⠩⠹⠱⠫⠻⠳⠪⠬⠜⠠⠜⠠⠪⠠⠳", xfail: {forward: true, backward: true}]
226
227
228 tests:
229 # These tests can only be expected to pass forwards, not backwards.
230 - ["(", "⠶"]
231 - [")", "⠶"]
232 - ["]", "⠠⠶"]
233 - ["`", "⠠⠦"]
234 - ["}", "⠐⠷"]
235 - ["‚", "⠠⠦"]
236 - ["„", "⠦"]
237 - ["…", "⠄⠄⠄"]
238 - ["†", "⠛⠑⠾⠄"]
239 - ["Š", "⠘⠈⠎"]
240 - ["‹", "⠠⠦"]
241 - ["Ž", "⠘⠈⠵"]
242 #??? - ["•", "⠠ ⠭⠣⠬⠣⠣⠠"]
243 - ["—", "⠠⠤"]
244 - ["š", "⠈⠎"]
245 - ["›", "⠠⠴"]
246 - ["ž", "⠈⠵"]
247 - ["Ÿ", "⠘⠈⠽"]
248 - ["ª", "⠁"]
249 - ["«", "⠦"]
250 - ["±", "⠈⠖⠤"]
251 - ["´", "⠠⠴"]
252 - ["¹", "", {xfail: should probably be defined}]
253 - ["º", "⠕"]
254 - ["»", "⠴"]
255 - ["Á", "⠘⠈⠁"]
256 - ["Ã", "⠘⠈⠁"]
257 - ["Å", "⠘⠈⠁"]
258 - ["Æ", "⠨⠁⠑", {xfail: why does this need to be indicated with 46}]
259 - ["Í", "⠘⠈⠊"]
260 - ["Ó", "⠘⠈⠕"]
261 - ["Õ", "⠘⠈⠕"]
262 - ["Ø", "⠘⠈⠕"]
263 - ["Ú", "⠘⠈⠥"]
264 - ["Ý", "⠘⠈⠽"]
265 - ["á", "⠈⠁"]
266 - ["ã", "⠈⠁"]
267 - ["å", "⠈⠁"]
268 - ["æ", "⠁⠑"]
269 - ["í", "⠈⠊"]
270 - ["ó", "⠈⠕"]
271 - ["õ", "⠈⠕"]
272 - ["ø", "⠈⠕"]
273 - ["ú", "⠈⠥"]
274 - ["ý", "⠈⠽"]
275 - ["ÿ", "⠈⠽"]
276
277 # Misc forward tests
278 - [" -abc", " ⠠⠤⠁⠃⠉"]