Debian Codegraph @

tests/braille-specs/it.yaml

raw symbols SCIP
1 # Tests for Italian
2 #
3 # Copyright © 2025 by Bert Frees
4 # Copyright © 2026 by Vision Dept SRL. <[email protected]>
5 # Copyright © 2026 by Christian Comaschi <[email protected]>
6 #
7 # Copying and distribution of this file, with or without modification,
8 # are permitted in any medium without royalty provided the copyright
9 # notice and this notice are preserved. This file is offered as-is,
10 # without any warranty.
11 #
12 # ----------------------------------------------------------------------------------------------
13
14 display: |
15 include unicode-without-blank.dis
16 display 9 9
17 display a a
18 table:
19 language: it
20 type: literary
21 __assert-match: it-it-comp6.utb
22 flags: {testmode: bothDirections}
23 tests:
24
25 # --- ALPHABET ---
26 - [a, ⠁]
27 - [b, ⠃]
28 - [c, ⠉]
29 - [d, ⠙]
30 - [e, ⠑]
31 - [f, ⠋]
32 - [g, ⠛]
33 - [h, ⠓]
34 - [i, ⠊]
35 - [j, ⠚]
36 - [k, ⠅]
37 - [l, ⠇]
38 - [m, ⠍]
39 - [n, ⠝]
40 - [o, ⠕]
41 - [p, ⠏]
42 - [q, ⠟]
43 - [r, ⠗]
44 - [s, ⠎]
45 - [t, ⠞]
46 - [u, ⠥]
47 - [v, ⠧]
48 - [w, ⠺]
49 - [x, ⠭]
50 - [y, ⠽]
51 - [z, ⠵]
52
53 # --- WORDS AND ACCENTS ---
54 - [mamma, ⠍⠁⠍⠍⠁]
55 - [città, ⠉⠊⠞⠞⠷]
56 - [perché, ⠏⠑⠗⠉⠓⠿]
57 - [virtù, ⠧⠊⠗⠞⠾]
58 - [però, ⠏⠑⠗⠬]
59 - [lunedì, ⠇⠥⠝⠑⠙⠌]
60 - ['È bello', '⠨⠮ ⠃⠑⠇⠇⠕']
61
62 # --- MATH AND NUMBERS ---
63 - [10, ⠼⠁⠚]
64 - ['10,5', '⠼⠁⠚⠂⠑']
65 - ['3+5', '⠼⠉⠖⠼⠑']
66 - ['10-10', '⠼⠁⠚⠤⠼⠁⠚']
67 - ['4*2', '⠼⠙⠦⠼⠃']
68 - ['7,3/4,2', '⠼⠛⠂⠉⠲⠼⠙⠂⠃']
69 - ['8.531,3/6.312', '⠼⠓⠄⠑⠉⠁⠂⠉⠲⠼⠋⠄⠉⠁⠃']
70 - ['Espressione (3+2)*4<24 risolta.', '⠨⠑⠎⠏⠗⠑⠎⠎⠊⠕⠝⠑ ⠢⠼⠉⠖⠼⠃⠔⠦⠼⠙⠣⠼⠃⠙ ⠗⠊⠎⠕⠇⠞⠁⠲']
71 - ['3a+2b>=x', '⠼⠉⠸⠁⠖⠼⠃⠸⠃⠜⠶⠭']
72 - ['\x007b\x005b(2x+3y)-0.2\x005d*2\x007d=32', '⠯⠷⠢⠼⠃⠭⠖⠼⠉⠽⠔⠤⠼⠚⠄⠃⠾⠦⠼⠃⠽⠶⠼⠉⠃']
73
74 # --- SPACES ---
75 - ['\x0020', '\x0020']
76 - ['\x00a0', 'a']
77 - ['\x0009', '9']
78
79 # --- SYMBOLS ---
80 - ['!', '⠖']
81 - ['.', '⠲']
82 - ['*', '⠔']
83 - [-, ⠤]
84 - [^, ⠈]
85
86 # --- SYMBOLS CHANGING WITH CONTEXT ---
87 - ['Domanda?', '⠨⠙⠕⠍⠁⠝⠙⠁⠢']
88 - ['Indirizzo: http://www.address.com', '⠨⠊⠝⠙⠊⠗⠊⠵⠵⠕⠒ ⠓⠞⠞⠏⠒⠌⠌⠺⠺⠺⠲⠁⠙⠙⠗⠑⠎⠎⠲⠉⠕⠍']
89 - ['gâteau', '⠛⠡⠞⠑⠁⠥']
90 - ['Path: C:\x005cfolder', '⠨⠏⠁⠞⠓⠒ ⠨⠉⠒⠡⠋⠕⠇⠙⠑⠗']
91 - ['E-mail: [email protected]', '⠨⠑⠤⠍⠁⠊⠇⠒ ⠍⠁⠗⠊⠕⠸⠗⠕⠎⠎⠊⠜⠞⠑⠇⠉⠕⠲⠊⠞']
92 - ['(parentesi letterarie)', '⠶⠏⠁⠗⠑⠝⠞⠑⠎⠊ ⠇⠑⠞⠞⠑⠗⠁⠗⠊⠑⠶']
93 - ['Fra "virgolette"', '⠨⠋⠗⠁ ⠦⠧⠊⠗⠛⠕⠇⠑⠞⠞⠑⠴']
94 - ['fra (parentesi) tonde', '⠋⠗⠁ ⠶⠏⠁⠗⠑⠝⠞⠑⠎⠊⠶ ⠞⠕⠝⠙⠑']
95 - ['Puntini...', '⠨⠏⠥⠝⠞⠊⠝⠊⠄⠄⠄']
96 - ['Temperatura 3°C', '⠨⠞⠑⠍⠏⠑⠗⠁⠞⠥⠗⠁ ⠼⠉⠴⠨⠉']
97
98 flags: {testmode: forward}
99 tests:
100
101 # --- SYMBOLS ---
102 - [+, ⠖]
103 - [-, ⠤]
104 - [/, ⠌]
105 - ['\x005c', ⠡]
106 - ["[testo]", ⠷⠞⠑⠎⠞⠕⠾]
107 - ["(parentesi)", ⠶⠏⠁⠗⠑⠝⠞⠑⠎⠊⠶]
108 - ["{graffe}", ⠯⠛⠗⠁⠋⠋⠑⠽]
109 - [_, ⠸]
110 - [°, ⠴]
111 - ['?', '⠢']
112 - ['#', '⠼']
113 - ['\x00F7', '⠒']
114 - ['\x007C', '⠈⠸']
115
116 flags: {testmode: backward}
117 tests:
118
119 # --- MATH AND NUMBERS ---
120 - ['⠸⠁⠶⠸⠭', 'a=x']
121 - ['⠯⠷⠢⠼⠃⠸⠭⠖⠼⠉⠽⠔⠾⠦⠼⠃⠸⠽⠽⠶⠼⠉⠃', '\x007b\x005b(2x+3y)\x005d*2y\x007d=32']
122
123 # --- SYMBOLS ---
124 - ['⠼⠼', '\x0023']
125
126
127 # SEZIONE TABELLA 8 PUNTI
128 table:
129 language: it
130 type: computer
131 __assert-match: it-it-comp8.utb
132 flags: {testmode: bothDirections}
133 tests:
134 # tests that check if issue #1783 is fixed
135 # see https://github.com/liblouis/liblouis/issues/1783
136 - ['\x0022A', '⠈⡁']
137 - ['\x0022I', '⠈⡊']
138 - ['\x0022U', '⠈⡥']
139 - ['\x0022a', '⠈⠁']
140 - ['\x0022i', '⠈⠊']
141 - ['\x0022u', '⠈⠥']
142 - [7h, ⠻⠓]
143 - [8h, ⠳⠓]
144 - ['\x003EA', '⠘⡁']
145 - ['\x003EI', '⠘⡊']
146 - ['\x003EU', '⠘⡥']
147 - ['\x003Ea', '⠘⠁']
148 - ['\x003Ei', '⠘⠊']
149 - ['\x003Eu', '⠘⠥']
150 - ['h\x0023', '⠓⠼']
151 - ['h\x0025', '⠓⠿']
152 - [h0, ⠓⠬]
153 - [h1, ⠓⠡]
154 - [h2, ⠓⠣]
155 - [h3, ⠓⠩]
156 - [h5, ⠓⠱]
157 - [h6, ⠓⠫]
158 - [h7, ⠓⠻]
159 - [h8, ⠓⠳]
160 - [h9, ⠓⠪]
161 - [hA, ⠓⡁]
162 - [hE, ⠓⡑]
163 - [hI, ⠓⡊]
164 - [hJ, ⠓⡚]
165 - [hO, ⠓⡕]
166 - [hQ, ⠓⡟]
167 - [hR, ⠓⡗]
168 - [hT, ⠓⡞]
169 - [hU, ⠓⡥]
170 - [hV, ⠓⡧]
171 - [hW, ⠓⡺]
172 - ['h\x005B', '⠓⡷']
173 - ['h\x005C', '⠓⡌']
174 - ['h\x005D', '⠓⡾']
175 - ['h\x005E', '⠓⡮']
176 - [ha, ⠓⠁]
177 - [hc, ⠓⠉]
178 - [he, ⠓⠑]
179 - [hi, ⠓⠊]
180 - [hj, ⠓⠚]
181 - [ho, ⠓⠕]
182 - [hq, ⠓⠟]
183 - [hr, ⠓⠗]
184 - [hu, ⠓⠥]
185 - [hv, ⠓⠧]
186 - [hw, ⠓⠺]
187 - ['h\x007B', '⠓⠷']
188 - ['h\x007C', '⠓⠌']
189 - ['h\x007D', '⠓⠾']
190 - ['h\x007E', '⠓⠮']
191 - [hà, ⠓⢷]
192 - [hè, ⠓⢮]
193 - [hé, ⠓⢿]
194 - [vh, ⠧⠓]
195 - ['\x007Dh', '⠾⠓']
196 - [caffè, ⠉⠁⠋⠋⢮]
197 - [soffio, ⠎⠕⠋⠋⠊⠕]
198
199 flags: {testmode: forward}
200 tests:
201 - [3×2, ⠩⢮⠣]
202 - ['\x1FB8', '⠈⡁']
203 - ['\x1FD8', '⠈⡊']
204 - ['\x1FE8', '⠈⡥']
205 - ['\x1FB0', '⠈⠁']
206 - ['\x1FD0', '⠈⠊']
207 - ['\x1FE0', '⠈⠥']
208 - ['\x1FD3', '⠻⠓']
209 - ['\x1FE3', '⠳⠓']
210 - ['\x1FB9', '⠘⡁']
211 - ['\x1FD9', '⠘⡊']
212 - ['\x1FE9', '⠘⡥']
213 - ['\x1FB1', '⠘⠁']
214 - ['\x1FD1', '⠘⠊']
215 - ['\x1FE1', '⠘⠥']
216 - ['\x1F67', '⠓⠼']
217 - ['\x1F25', '⠓⠿']
218 - ['\x1F43', '⠓⠬']
219 - ['\x1F07', '⠓⠡']
220 - ['\x1F27', '⠓⠣']
221 - ['\x1F37', '⠓⠩']
222 - ['\x1F21', '⠓⠱']
223 - ['\x1F15', '⠓⠫']
224 - ['\x1F35', '⠓⠻']
225 - ['\x1F55', '⠓⠳']
226 - ['\x1F45', '⠓⠪']
227 - ['\x1F09', '⠓⡁']
228 - ['\x1F19', '⠓⡑']
229 - ['\x1F39', '⠓⡊']
230 - ['\x1F6D', '⠓⡚']
231 - ['\x1F49', '⠓⡕']
232 - ['\x1F6A', '⠓⡟']
233 - ['\x1FEC', '⠓⡗']
234 - ['\x1F0D', '⠓⡞']
235 - ['\x1F59', '⠓⡥']
236 - ['\x1F5F', '⠓⡧']
237 - ['\x1F69', '⠓⡺']
238 - ['\x1F0B', '⠓⡷']
239 - ['\x1F3B', '⠓⡌']
240 - ['\x1F5B', '⠓⡾']
241 - ['\x1F2B', '⠓⡮']
242 - ['\x1F01', '⠓⠁']
243 - ['\x1F13', '⠓⠉']
244 - ['\x1F11', '⠓⠑']
245 - ['\x1F31', '⠓⠊']
246 - ['\x1F65', '⠓⠚']
247 - ['\x1F41', '⠓⠕']
248 - ['\x1F63', '⠓⠟']
249 - ['\x1FE5', '⠓⠗']
250 - ['\x1F51', '⠓⠥']
251 - ['\x1F57', '⠓⠧']
252 - ['\x1F61', '⠓⠺']
253 - ['\x1F03', '⠓⠷']
254 - ['\x1F33', '⠓⠌']
255 - ['\x1F53', '⠓⠾']
256 - ['\x1F23', '⠓⠮']
257 - ['\x1F83', '⠓⢷']
258 - ['\x1F93', '⠓⢮']
259 - ['\x1F95', '⠓⢿']
260 - ['\x1FE7', '⠧⠓']
261 - ['\x1FE2', '⠾⠓']
262 # check if latin small ligature is correctly translated (only forward)
263 - ['so\xFB00io', '⠎⠕⠋⠋⠊⠕']