# Tests for Bashkir literary and computer braille # # The Bashkir braille code was created by Makarim Tukhvatshin in the # early 60's. There is no official documentation on the braille code # that we know of. # # Initial version of this test was adapted from uk.yaml # # Copyright © 2018 by Sergiy Moskalets # Copyright © 2020 by Andrey Yakuboy # Copyright © 2020 by Rustam Churagulov # # 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: unicode-without-blank.dis,ru-unicode.dis table: language: ba type: literary __assert-match: ba.utb tests: - - Айгөл арып, хәлдән тайып мәктәптән ҡайтып керҙе. - ⠁⠯⠛⠣⠇ ⠁⠗⠮⠏⠂⠓⠜⠇⠙⠜⠝ ⠞⠁⠯⠮⠏ ⠍⠜⠅⠞⠜⠏⠞⠜⠝ ⠩⠁⠯⠞⠮⠏ ⠅⠑⠗⠬⠑⠲ - - Этот подъём был круче, тяжелее прежнего. - ⠪⠞⠕⠞ ⠏⠕⠙⠷⠡⠍ ⠃⠮⠇ ⠅⠗⠥⠟⠑⠂⠞⠫⠚⠑⠇⠑⠑ ⠏⠗⠑⠚⠝⠑⠛⠕⠲ - - 123,5+46=169,5 - ⠼⠁⠃⠉⠂⠑ ⠖⠼⠙⠋ ⠶⠼⠁⠋⠊⠂⠑ - - 1, 3, 5, 7, 11, 13, 17, 19, 23 - ⠼⠁⠠⠂⠼⠉⠠⠂⠼⠑⠠⠂⠼⠛⠠⠂⠼⠁⠁⠠⠂⠼⠁⠉⠠⠂⠼⠁⠛⠠⠂⠼⠁⠊⠠⠂⠼⠃⠉ # with indication of capitals tests: - - Айгөл арып, хәлдән тайып мәктәптән ҡайтып керҙе. - ⠘⠁⠯⠛⠣⠇ ⠁⠗⠮⠏⠂⠓⠜⠇⠙⠜⠝ ⠞⠁⠯⠮⠏ ⠍⠜⠅⠞⠜⠏⠞⠜⠝ ⠩⠁⠯⠞⠮⠏ ⠅⠑⠗⠬⠑⠲ - xfail: option to indicate capitals does not exist yet - - Этот подъём был круче, тяжелее прежнего. - ⠘⠪⠞⠕⠞ ⠏⠕⠙⠷⠡⠍ ⠃⠮⠇ ⠅⠗⠥⠟⠑⠂⠞⠫⠚⠑⠇⠑⠑ ⠏⠗⠑⠚⠝⠑⠛⠕⠲ - xfail: option to indicate capitals does not exist yet # computer braille display: | include unicode.dis display 9 9 display a a table: # language: ba language: ru type: computer dots: 8 flags: {testmode: bothDirections} tests: - ['\x0009', '9'] - ['\x000a', '⣀'] - ['\x0020', '⠀'] - ['\x00a0', 'a'] - ['Hello, World!', '⣓⢑⢇⢇⢕⠠⠀⣺⢕⢗⢇⢙⠐'] - ['1234567890', '⠂⠆⠒⠲⠢⠖⠶⠦⠔⠴'] - ['2 + 7 = 9', '⠆⠀⡖⠀⠶⠀⠿⠀⠔'] - ['3 < 5, а 5 > 3.', '⠒⠀⠰⠀⠢⠠⠀⠁⠀⠢⠀⠘⠀⠒⠄'] # can not make it work both directions because of conflicts between letters and punctuation flags: {testmode: forward} tests: - ['Көҙөн көндәр һыуына, япраҡтар һарғая, кәйефтәр һағышҡа тартыла.', '⡅⠣⠬⠣⠝⠀⠅⠣⠝⠙⠜⠗⠀⠧⠮⠥⠮⠝⠁⠠⠀⠫⠏⠗⠁⠩⠞⠁⠗⠀⠧⠁⠗⠻⠁⠫⠠⠀⠅⠜⠯⠑⠋⠞⠜⠗⠀⠧⠁⠻⠮⠱⠩⠁⠀⠞⠁⠗⠞⠮⠇⠁⠄'] flags: {testmode: forward} tests: - ['\x000c', '⠀'] - ['\x000d', '⠀'] - ['\x2003', '⠀'] - ['\x000b', '9'] - ['Γεια σου κόσμο!', '⣛⢑⢊⢁⠀⢎⢕⢥⠀⢅⢪⢎⢍⢕⠐'] - ['שלום עולם!', '⢩⢇⢺⢍⠀⢫⢺⢇⢍⠐']