Skip to content

Commit

Permalink
Dropped multiple include; fixed curly brackets and number sign
Browse files Browse the repository at this point in the history
representation; added copyright sign; added tests.
  • Loading branch information
HegrJan authored and bertfrees committed May 28, 2018
1 parent 3fbf0f1 commit 96683a3
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 4 deletions.
7 changes: 4 additions & 3 deletions tables/cs-chardefs.cti
Expand Up @@ -50,7 +50,7 @@ space \x0020 0 SPACE

punctuation \x0021 235 ! EXCLAMATION MARK
punctuation \x0022 2356 " QUOTATION MARK
sign \x0023 3456 # NUMBER SIGN
sign \x0023 6-3456 # NUMBER SIGN
punctuation \x0027 4 ' APOSTROPHE
punctuation \x0028 236 ( LEFT PARENTHESIS
punctuation \x0029 356 ) RIGHT PARENTHESIS
Expand All @@ -76,6 +76,7 @@ sign \x007C 456 | VERTICAL LINE
# ----------------------------------------------------------------------------------------------

space \x00A0 a   NO-BREAK SPACE
sign \x00A9 1246-2456-6-14 © COPYRIGHT SIGN
punctuation \x00AD 36 ­ SOFT HYPHEN
math \x00B1 256-36 ± PLUS-MINUS SIGN
sign \x00B4 4 ´ ACUTE ACCENT
Expand Down Expand Up @@ -120,8 +121,8 @@ sign \x005C 3456-1256 \ REVERSE SOLIDU
punctuation \x005D 6-356 ] RIGHT SQUARE BRACKET
sign \x005E 6-45 ^ CIRCUMFLEX ACCENT
sign \x005F 6-36 _ LOW LINE
math \x007B 45-236 { LEFT CURLY BRACKET
math \x007D 45-356 } RIGHT CURLY BRACKET
math \x007B 46-236 { LEFT CURLY BRACKET
math \x007D 46-356 } RIGHT CURLY BRACKET
math \x007E 6-5 ~ TILDE


Expand Down
1 change: 0 additions & 1 deletion tables/cs.tbl
Expand Up @@ -16,4 +16,3 @@

include cs-g1.ctb
include hyph_cs_CZ.dic
include braille-patterns.cti
1 change: 1 addition & 0 deletions tests/Makefile.am
Expand Up @@ -112,6 +112,7 @@ dist_braille_specs_TESTS = \
braille-specs/ar-ar-g1_harness.yaml \
braille-specs/ar-fa_harness.yaml \
braille-specs/chr-us-g1_harness.yaml \
braille-specs/cs_harness.yaml \
braille-specs/cs-comp8_harness.yaml \
braille-specs/da-dk-g08.yaml \
braille-specs/da-dk-g16.yaml \
Expand Down
1 change: 1 addition & 0 deletions tests/braille-specs/Makefile.am
Expand Up @@ -2,6 +2,7 @@ EXTRA_DIST = \
ar-ar-g1_harness.yaml \
ar-fa_harness.yaml \
chr-us-g1_harness.yaml \
cs_harness.yaml \
cs-comp8_harness.yaml \
da-dk-g08.yaml \
da-dk-g16.yaml \
Expand Down
38 changes: 38 additions & 0 deletions tests/braille-specs/cs_harness.yaml
@@ -0,0 +1,38 @@
display: unicode.dis
table:
locale: cs
type: literary
grade: 1
tests:
- # Czech alphabet
- příliš žluťoučký kůň úpěl ďábelské ódy
- ⠏⠺⠌⠇⠊⠱ ⠮⠇⠥⠳⠕⠥⠩⠅⠯ ⠅⠾⠫ ⠬⠏⠣⠇ ⠹⠡⠃⠑⠇⠎⠅⠜ ⠪⠙⠽

- ['www.', '⠷⠷⠷⠄']
- ['a, b. c? d!', '⠁⠂ ⠃⠄ ⠉⠢ ⠙⠖']
- ['a: b; "c"', '⠁⠒ ⠃⠆ ⠶⠉⠶']
- ['(a) [b] {c}', '⠦⠁⠴ ⠠⠦⠃⠠⠴ ⠨⠦⠉⠨⠴']
- ['name@mail', '⠝⠁⠍⠑⠼⠻⠍⠁⠊⠇']
- ['H&M', '⠠⠓⠼⠯⠠⠍']
- ['100%', '⠼⠁⠚⠚⠼⠏']
- ['$5', '⠼⠫⠼⠑']
- ['# comment', '⠠⠼ ⠉⠕⠍⠍⠑⠝⠞']
- ['C:\\>', '⠠⠉⠒⠼⠳⠜']
- ['x +y *z', '⠭ ⠲⠽ ⠔⠵']
- ['n -n =0', '⠝ ⠤⠝ ⠶⠼⠚']
- ['1/4', '⠼⠁⠻⠼⠙']
- ['1x', '⠼⠁⠭']
- ['1b', '⠼⠁⠐⠃']
- ['1X', '⠼⠁⠠⠭']
- ['1B', '⠼⠁⠠⠃']
- ['1XY', '⠼⠁⠰⠭⠽']
- ['1bc', '⠼⠁⠐⠃⠉']
- ['ABC', '⠰⠁⠃⠉']
- ['ABc', '⠰⠁⠃⠐⠉']
- ['XYz', '⠰⠭⠽⠐⠵']
- ['XyZ', '⠠⠭⠽⠠⠵']
- ['xYZ', '⠭⠰⠽⠵']
- ['1,5', '⠼⠁⠂⠑']
- ['1.123', '⠼⠁⠄⠁⠃⠉']
- ['1,5j', '⠼⠁⠂⠑⠐⠚']
- ['1.123x', '⠼⠁⠄⠁⠃⠉⠭']

0 comments on commit 96683a3

Please sign in to comment.