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