Debian Codegraph @

tests/braille-specs/ba.yaml

raw symbols SCIP
1 # Tests for Bashkir literary and computer braille
2 #
3 # The Bashkir braille code was created by Makarim Tukhvatshin in the
4 # early 60's. There is no official documentation on the braille code
5 # that we know of.
6 #
7 # Initial version of this test was adapted from uk.yaml
8 #
9 # Copyright © 2018 by Sergiy Moskalets <www.trosti.com.ua>
10 # Copyright © 2020 by Andrey Yakuboy <[email protected]>
11 # Copyright © 2020 by Rustam Churagulov <[email protected]>
12 #
13 # Copying and distribution of this file, with or without modification,
14 # are permitted in any medium without royalty provided the copyright
15 # notice and this notice are preserved. This file is offered as-is,
16 # without any warranty.
17 # ----------------------------------------------------------------------------------------------
18
19 display: unicode-without-blank.dis,ru-unicode.dis
20 table:
21 language: ba
22 type: literary
23 __assert-match: ba.utb
24 tests:
25 - - Айгөл арып, хәлдән тайып мәктәптән ҡайтып керҙе.
26 - ⠁⠯⠛⠣⠇ ⠁⠗⠮⠏⠂⠓⠜⠇⠙⠜⠝ ⠞⠁⠯⠮⠏ ⠍⠜⠅⠞⠜⠏⠞⠜⠝ ⠩⠁⠯⠞⠮⠏ ⠅⠑⠗⠬⠑⠲
27 - - Этот подъём был круче, тяжелее прежнего.
28 - ⠪⠞⠕⠞ ⠏⠕⠙⠷⠡⠍ ⠃⠮⠇ ⠅⠗⠥⠟⠑⠂⠞⠫⠚⠑⠇⠑⠑ ⠏⠗⠑⠚⠝⠑⠛⠕⠲
29 - - 123,5+46=169,5
30 - ⠼⠁⠃⠉⠂⠑ ⠖⠼⠙⠋ ⠶⠼⠁⠋⠊⠂⠑
31 - - 1, 3, 5, 7, 11, 13, 17, 19, 23
32 - ⠼⠁⠠⠂⠼⠉⠠⠂⠼⠑⠠⠂⠼⠛⠠⠂⠼⠁⠁⠠⠂⠼⠁⠉⠠⠂⠼⠁⠛⠠⠂⠼⠁⠊⠠⠂⠼⠃⠉
33
34 # with indication of capitals
35 tests:
36 - - Айгөл арып, хәлдән тайып мәктәптән ҡайтып керҙе.
37 - ⠘⠁⠯⠛⠣⠇ ⠁⠗⠮⠏⠂⠓⠜⠇⠙⠜⠝ ⠞⠁⠯⠮⠏ ⠍⠜⠅⠞⠜⠏⠞⠜⠝ ⠩⠁⠯⠞⠮⠏ ⠅⠑⠗⠬⠑⠲
38 - xfail: option to indicate capitals does not exist yet
39 - - Этот подъём был круче, тяжелее прежнего.
40 - ⠘⠪⠞⠕⠞ ⠏⠕⠙⠷⠡⠍ ⠃⠮⠇ ⠅⠗⠥⠟⠑⠂⠞⠫⠚⠑⠇⠑⠑ ⠏⠗⠑⠚⠝⠑⠛⠕⠲
41 - xfail: option to indicate capitals does not exist yet
42
43 # computer braille
44 display: |
45 include unicode.dis
46 display 9 9
47 display a a
48 table:
49 # language: ba
50 language: ru
51 type: computer
52 dots: 8
53 flags: {testmode: bothDirections}
54 tests:
55 - ['\x0009', '9']
56 - ['\x000a', '⣀']
57 - ['\x0020', '⠀']
58 - ['\x00a0', 'a']
59 - ['Hello, World!', '⣓⢑⢇⢇⢕⠠⠀⣺⢕⢗⢇⢙⠐']
60 - ['1234567890', '⠂⠆⠒⠲⠢⠖⠶⠦⠔⠴']
61 - ['2 + 7 = 9', '⠆⠀⡖⠀⠶⠀⠿⠀⠔']
62 - ['3 < 5, а 5 > 3.', '⠒⠀⠰⠀⠢⠠⠀⠁⠀⠢⠀⠘⠀⠒⠄']
63
64 # can not make it work both directions because of conflicts between letters and punctuation
65 flags: {testmode: forward}
66 tests:
67 - ['Көҙөн көндәр һыуына, япраҡтар һарғая, кәйефтәр һағышҡа тартыла.', '⡅⠣⠬⠣⠝⠀⠅⠣⠝⠙⠜⠗⠀⠧⠮⠥⠮⠝⠁⠠⠀⠫⠏⠗⠁⠩⠞⠁⠗⠀⠧⠁⠗⠻⠁⠫⠠⠀⠅⠜⠯⠑⠋⠞⠜⠗⠀⠧⠁⠻⠮⠱⠩⠁⠀⠞⠁⠗⠞⠮⠇⠁⠄']
68
69 flags: {testmode: forward}
70 tests:
71 - ['\x000c', '⠀']
72 - ['\x000d', '⠀']
73 - ['\x2003', '⠀']
74 - ['\x000b', '9']
75 - ['Γεια σου κόσμο!', '⣛⢑⢊⢁⠀⢎⢕⢥⠀⢅⢪⢎⢍⢕⠐']
76 - ['שלום עולם!', '⢩⢇⢺⢍⠀⢫⢺⢇⢍⠐']