# Tests for Italian # # Copyright © 2025 by Bert Frees # Copyright © 2026 by Vision Dept SRL. # Copyright © 2026 by Christian Comaschi # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. This file is offered as-is, # without any warranty. # # ---------------------------------------------------------------------------------------------- display: | include unicode-without-blank.dis display 9 9 display a a table: language: it type: literary __assert-match: it-it-comp6.utb flags: {testmode: bothDirections} tests: # --- ALPHABET --- - [a, ⠁] - [b, ⠃] - [c, ⠉] - [d, ⠙] - [e, ⠑] - [f, ⠋] - [g, ⠛] - [h, ⠓] - [i, ⠊] - [j, ⠚] - [k, ⠅] - [l, ⠇] - [m, ⠍] - [n, ⠝] - [o, ⠕] - [p, ⠏] - [q, ⠟] - [r, ⠗] - [s, ⠎] - [t, ⠞] - [u, ⠥] - [v, ⠧] - [w, ⠺] - [x, ⠭] - [y, ⠽] - [z, ⠵] # --- WORDS AND ACCENTS --- - [mamma, ⠍⠁⠍⠍⠁] - [città, ⠉⠊⠞⠞⠷] - [perché, ⠏⠑⠗⠉⠓⠿] - [virtù, ⠧⠊⠗⠞⠾] - [però, ⠏⠑⠗⠬] - [lunedì, ⠇⠥⠝⠑⠙⠌] - ['È bello', '⠨⠮ ⠃⠑⠇⠇⠕'] # --- MATH AND NUMBERS --- - [10, ⠼⠁⠚] - ['10,5', '⠼⠁⠚⠂⠑'] - ['3+5', '⠼⠉⠖⠼⠑'] - ['10-10', '⠼⠁⠚⠤⠼⠁⠚'] - ['4*2', '⠼⠙⠦⠼⠃'] - ['7,3/4,2', '⠼⠛⠂⠉⠲⠼⠙⠂⠃'] - ['8.531,3/6.312', '⠼⠓⠄⠑⠉⠁⠂⠉⠲⠼⠋⠄⠉⠁⠃'] - ['Espressione (3+2)*4<24 risolta.', '⠨⠑⠎⠏⠗⠑⠎⠎⠊⠕⠝⠑ ⠢⠼⠉⠖⠼⠃⠔⠦⠼⠙⠣⠼⠃⠙ ⠗⠊⠎⠕⠇⠞⠁⠲'] - ['3a+2b>=x', '⠼⠉⠸⠁⠖⠼⠃⠸⠃⠜⠶⠭'] - ['\x007b\x005b(2x+3y)-0.2\x005d*2\x007d=32', '⠯⠷⠢⠼⠃⠭⠖⠼⠉⠽⠔⠤⠼⠚⠄⠃⠾⠦⠼⠃⠽⠶⠼⠉⠃'] # --- SPACES --- - ['\x0020', '\x0020'] - ['\x00a0', 'a'] - ['\x0009', '9'] # --- SYMBOLS --- - ['!', '⠖'] - ['.', '⠲'] - ['*', '⠔'] - [-, ⠤] - [^, ⠈] # --- SYMBOLS CHANGING WITH CONTEXT --- - ['Domanda?', '⠨⠙⠕⠍⠁⠝⠙⠁⠢'] - ['Indirizzo: http://www.address.com', '⠨⠊⠝⠙⠊⠗⠊⠵⠵⠕⠒ ⠓⠞⠞⠏⠒⠌⠌⠺⠺⠺⠲⠁⠙⠙⠗⠑⠎⠎⠲⠉⠕⠍'] - ['gâteau', '⠛⠡⠞⠑⠁⠥'] - ['Path: C:\x005cfolder', '⠨⠏⠁⠞⠓⠒ ⠨⠉⠒⠡⠋⠕⠇⠙⠑⠗'] - ['E-mail: mario_rossi@telco.it', '⠨⠑⠤⠍⠁⠊⠇⠒ ⠍⠁⠗⠊⠕⠸⠗⠕⠎⠎⠊⠜⠞⠑⠇⠉⠕⠲⠊⠞'] - ['(parentesi letterarie)', '⠶⠏⠁⠗⠑⠝⠞⠑⠎⠊ ⠇⠑⠞⠞⠑⠗⠁⠗⠊⠑⠶'] - ['Fra "virgolette"', '⠨⠋⠗⠁ ⠦⠧⠊⠗⠛⠕⠇⠑⠞⠞⠑⠴'] - ['fra (parentesi) tonde', '⠋⠗⠁ ⠶⠏⠁⠗⠑⠝⠞⠑⠎⠊⠶ ⠞⠕⠝⠙⠑'] - ['Puntini...', '⠨⠏⠥⠝⠞⠊⠝⠊⠄⠄⠄'] - ['Temperatura 3°C', '⠨⠞⠑⠍⠏⠑⠗⠁⠞⠥⠗⠁ ⠼⠉⠴⠨⠉'] flags: {testmode: forward} tests: # --- SYMBOLS --- - [+, ⠖] - [-, ⠤] - [/, ⠌] - ['\x005c', ⠡] - ["[testo]", ⠷⠞⠑⠎⠞⠕⠾] - ["(parentesi)", ⠶⠏⠁⠗⠑⠝⠞⠑⠎⠊⠶] - ["{graffe}", ⠯⠛⠗⠁⠋⠋⠑⠽] - [_, ⠸] - [°, ⠴] - ['?', '⠢'] - ['#', '⠼'] - ['\x00F7', '⠒'] - ['\x007C', '⠈⠸'] flags: {testmode: backward} tests: # --- MATH AND NUMBERS --- - ['⠸⠁⠶⠸⠭', 'a=x'] - ['⠯⠷⠢⠼⠃⠸⠭⠖⠼⠉⠽⠔⠾⠦⠼⠃⠸⠽⠽⠶⠼⠉⠃', '\x007b\x005b(2x+3y)\x005d*2y\x007d=32'] # --- SYMBOLS --- - ['⠼⠼', '\x0023'] # SEZIONE TABELLA 8 PUNTI table: language: it type: computer __assert-match: it-it-comp8.utb flags: {testmode: bothDirections} tests: # tests that check if issue #1783 is fixed # see https://github.com/liblouis/liblouis/issues/1783 - ['\x0022A', '⠈⡁'] - ['\x0022I', '⠈⡊'] - ['\x0022U', '⠈⡥'] - ['\x0022a', '⠈⠁'] - ['\x0022i', '⠈⠊'] - ['\x0022u', '⠈⠥'] - [7h, ⠻⠓] - [8h, ⠳⠓] - ['\x003EA', '⠘⡁'] - ['\x003EI', '⠘⡊'] - ['\x003EU', '⠘⡥'] - ['\x003Ea', '⠘⠁'] - ['\x003Ei', '⠘⠊'] - ['\x003Eu', '⠘⠥'] - ['h\x0023', '⠓⠼'] - ['h\x0025', '⠓⠿'] - [h0, ⠓⠬] - [h1, ⠓⠡] - [h2, ⠓⠣] - [h3, ⠓⠩] - [h5, ⠓⠱] - [h6, ⠓⠫] - [h7, ⠓⠻] - [h8, ⠓⠳] - [h9, ⠓⠪] - [hA, ⠓⡁] - [hE, ⠓⡑] - [hI, ⠓⡊] - [hJ, ⠓⡚] - [hO, ⠓⡕] - [hQ, ⠓⡟] - [hR, ⠓⡗] - [hT, ⠓⡞] - [hU, ⠓⡥] - [hV, ⠓⡧] - [hW, ⠓⡺] - ['h\x005B', '⠓⡷'] - ['h\x005C', '⠓⡌'] - ['h\x005D', '⠓⡾'] - ['h\x005E', '⠓⡮'] - [ha, ⠓⠁] - [hc, ⠓⠉] - [he, ⠓⠑] - [hi, ⠓⠊] - [hj, ⠓⠚] - [ho, ⠓⠕] - [hq, ⠓⠟] - [hr, ⠓⠗] - [hu, ⠓⠥] - [hv, ⠓⠧] - [hw, ⠓⠺] - ['h\x007B', '⠓⠷'] - ['h\x007C', '⠓⠌'] - ['h\x007D', '⠓⠾'] - ['h\x007E', '⠓⠮'] - [hà, ⠓⢷] - [hè, ⠓⢮] - [hé, ⠓⢿] - [vh, ⠧⠓] - ['\x007Dh', '⠾⠓'] - [caffè, ⠉⠁⠋⠋⢮] - [soffio, ⠎⠕⠋⠋⠊⠕] flags: {testmode: forward} tests: - [3×2, ⠩⢮⠣] - ['\x1FB8', '⠈⡁'] - ['\x1FD8', '⠈⡊'] - ['\x1FE8', '⠈⡥'] - ['\x1FB0', '⠈⠁'] - ['\x1FD0', '⠈⠊'] - ['\x1FE0', '⠈⠥'] - ['\x1FD3', '⠻⠓'] - ['\x1FE3', '⠳⠓'] - ['\x1FB9', '⠘⡁'] - ['\x1FD9', '⠘⡊'] - ['\x1FE9', '⠘⡥'] - ['\x1FB1', '⠘⠁'] - ['\x1FD1', '⠘⠊'] - ['\x1FE1', '⠘⠥'] - ['\x1F67', '⠓⠼'] - ['\x1F25', '⠓⠿'] - ['\x1F43', '⠓⠬'] - ['\x1F07', '⠓⠡'] - ['\x1F27', '⠓⠣'] - ['\x1F37', '⠓⠩'] - ['\x1F21', '⠓⠱'] - ['\x1F15', '⠓⠫'] - ['\x1F35', '⠓⠻'] - ['\x1F55', '⠓⠳'] - ['\x1F45', '⠓⠪'] - ['\x1F09', '⠓⡁'] - ['\x1F19', '⠓⡑'] - ['\x1F39', '⠓⡊'] - ['\x1F6D', '⠓⡚'] - ['\x1F49', '⠓⡕'] - ['\x1F6A', '⠓⡟'] - ['\x1FEC', '⠓⡗'] - ['\x1F0D', '⠓⡞'] - ['\x1F59', '⠓⡥'] - ['\x1F5F', '⠓⡧'] - ['\x1F69', '⠓⡺'] - ['\x1F0B', '⠓⡷'] - ['\x1F3B', '⠓⡌'] - ['\x1F5B', '⠓⡾'] - ['\x1F2B', '⠓⡮'] - ['\x1F01', '⠓⠁'] - ['\x1F13', '⠓⠉'] - ['\x1F11', '⠓⠑'] - ['\x1F31', '⠓⠊'] - ['\x1F65', '⠓⠚'] - ['\x1F41', '⠓⠕'] - ['\x1F63', '⠓⠟'] - ['\x1FE5', '⠓⠗'] - ['\x1F51', '⠓⠥'] - ['\x1F57', '⠓⠧'] - ['\x1F61', '⠓⠺'] - ['\x1F03', '⠓⠷'] - ['\x1F33', '⠓⠌'] - ['\x1F53', '⠓⠾'] - ['\x1F23', '⠓⠮'] - ['\x1F83', '⠓⢷'] - ['\x1F93', '⠓⢮'] - ['\x1F95', '⠓⢿'] - ['\x1FE7', '⠧⠓'] - ['\x1FE2', '⠾⠓'] # check if latin small ligature is correctly translated (only forward) - ['so\xFB00io', '⠎⠕⠋⠋⠊⠕']