# Tests for Ukrainian literary and computer braille # # Initial version of this test was adapted from ru.yaml # # Copyright © 2018 by Sergiy Moskalets # Copyright © 2020, 2022, 2024 by Andrey Yakuboy # # 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. # ---------------------------------------------------------------------------------------------- #literary braille display: unicode-without-blank.dis,ru-unicode.dis table: language: uk type: literary __assert-match: uk.utb tests: - - Вона мріє про зів’яле листя на ґанку, але її мрії не збуваються. - ⠺⠕⠝⠁ ⠍⠗⠽⠜ ⠏⠗⠕ ⠵⠽⠺⠄⠫⠇⠑ ⠇⠊⠎⠞⠫ ⠝⠁ ⠻⠁⠝⠅⠥⠂⠁⠇⠑ ⠹⠹ ⠍⠗⠽⠹ ⠝⠑ ⠵⠃⠥⠺⠁⠳⠞⠾⠎⠫⠲ - - Этот подъём был круче, тяжелее прежнего. - ⠪⠞⠕⠞ ⠏⠕⠙⠷⠡⠍ ⠃⠮⠇ ⠅⠗⠥⠟⠑⠂⠞⠫⠚⠑⠇⠑⠑ ⠏⠗⠑⠚⠝⠑⠛⠕⠲ - - 123,5+46=169,5 - ⠼⠁⠃⠉⠂⠑ ⠖⠼⠙⠋ ⠶⠼⠁⠋⠊⠂⠑ - - 1, 3, 5, 7, 11, 13, 17, 19, 23 - ⠼⠁⠠⠂⠼⠉⠠⠂⠼⠑⠠⠂⠼⠛⠠⠂⠼⠁⠁⠠⠂⠼⠁⠉⠠⠂⠼⠁⠛⠠⠂⠼⠁⠊⠠⠂⠼⠃⠉ - - ½ - ⠼⠁⠆ - - Єє Іі Її Ґґ - ⠜⠜ ⠽⠽ ⠹⠹ ⠻⠻ flags: {testmode: backward} tests: - - ⠘⠺⠕⠝⠁ ⠍⠗⠽⠜ ⠏⠗⠕ ⠵⠽⠺⠄⠫⠇⠑ ⠇⠊⠎⠞⠫ ⠝⠁ ⠻⠁⠝⠅⠥⠂⠁⠇⠑ ⠹⠹ ⠍⠗⠽⠹ ⠝⠑ ⠵⠃⠥⠺⠁⠳⠞⠾⠎⠫⠲ - Вона мріє про зів'яле листя на ґанку, але її мрії не збуваються. # with indication of capitals table: language: uk type: literary variant: detailed __assert-match: uk-detailed.utb tests: - - Вона мріє про зів’яле листя на ґанку, але її мрії не збуваються. - ⠘⠺⠕⠝⠁ ⠍⠗⠽⠜ ⠏⠗⠕ ⠵⠽⠺⠄⠫⠇⠑ ⠇⠊⠎⠞⠫ ⠝⠁ ⠻⠁⠝⠅⠥⠂⠁⠇⠑ ⠹⠹ ⠍⠗⠽⠹ ⠝⠑ ⠵⠃⠥⠺⠁⠳⠞⠾⠎⠫⠲ - - Этот подъём был круче, тяжелее прежнего. - ⠘⠪⠞⠕⠞ ⠏⠕⠙⠷⠡⠍ ⠃⠮⠇ ⠅⠗⠥⠟⠑⠂⠞⠫⠚⠑⠇⠑⠑ ⠏⠗⠑⠚⠝⠑⠛⠕⠲ - - Єє Іі Її Ґґ - ⠘⠜⠜ ⠘⠽⠽ ⠘⠹⠹ ⠘⠻⠻ # computer braille display: | include unicode.dis display 9 9 display a a table: language: uk type: computer __assert-match: uk-comp.utb flags: {testmode: bothDirections} tests: - ['\x0009', '9'] - ['\x000a', '⣀'] - ['\x0020', '⠀'] - ['\x00a0', 'a'] - ['Єхидна, ґава, їжак ще й шиплячі плазуни бігцем форсують Янцзи.', '⡜⠓⠊⠙⠝⠁⠠⠀⠻⠁⠺⠁⠠⠀⠹⠚⠁⠅⠀⠭⠑⠀⠯⠀⠱⠊⠏⠇⠫⠟⠽⠀⠏⠇⠁⠵⠥⠝⠊⠀⠃⠽⠛⠉⠑⠍⠀⠋⠕⠗⠎⠥⠳⠞⠾⠀⡫⠝⠉⠵⠊⠄'] - ['Hello, World!', '⣓⢑⢇⢇⢕⠠⠀⣺⢕⢗⢇⢙⠐'] - ['1234567890', '⠂⠆⠒⠲⠢⠖⠶⠦⠔⠴'] - ['2 + 7 = 9', '⠆⠀⡖⠀⠶⠀⠿⠀⠔'] - ['3 < 5, а 5 > 3.', '⠒⠀⠰⠀⠢⠠⠀⠁⠀⠢⠀⠘⠀⠒⠄'] - ['Для обробки цієї таблиці використовується бібліотека "Liblouis".', '⡙⠇⠫⠀⠕⠃⠗⠕⠃⠅⠊⠀⠉⠽⠜⠹⠀⠞⠁⠃⠇⠊⠉⠽⠀⠺⠊⠅⠕⠗⠊⠎⠞⠕⠺⠥⠜⠞⠾⠎⠫⠀⠃⠽⠃⠇⠽⠕⠞⠑⠅⠁⠀⠈⣇⢊⢃⢇⢕⢥⢊⢎⠈⠄'] - ['Як справи?', '⡫⠅⠀⠎⠏⠗⠁⠺⠊⡲'] - ['(~)', '⢔⢶⡢'] - ['example@domain.com', '⢑⢭⢁⢍⢏⢇⢑⣔⢙⢕⢍⢁⢊⢝⠄⢉⢕⢍'] - ['5 ₴', '⠢⠀⣒'] flags: {testmode: forward} tests: - ['\x000c', '⠀'] - ['\x000d', '⠀'] - ['\x2003', '⠀'] - ['\x000b', '9'] - ['Γεια σου κόσμο!', '⣛⢑⢊⢁⠀⢎⢕⢥⠀⢅⢪⢎⢍⢕⠐'] - ['שלום עולם!', '⢩⢇⢺⢍⠀⢫⢺⢇⢍⠐'] - ['1 ₴ - це приблизно 3 ₽.', '⠂⠀⣒⠀⠤⠀⠉⠑⠀⠏⠗⠊⠃⠇⠊⠵⠝⠕⠀⠒⠀⣘⠄']