blob: 1e4ddf7cf5419e33a3724f3650f4ef5a0fc774d9 [file] [log] [blame]
# Test case for Consistency between for and back trans with capsword
# and punctuation/math (see also #361)
table: |
include tables/unicode.dis
punctuation . 3
punctuation , 2
punctuation - 36
math + 235
include tables/latinLetterDef6Dots.uti
include tables/braille-patterns.cti
capsletter 6
begcapsword 6-6
endcapsword 6-3
tests:
- [Foobar, ⠠⠋⠕⠕⠃⠁⠗]
- [FOOBAR, ⠠⠠⠋⠕⠕⠃⠁⠗]
- [FOObar, ⠠⠠⠋⠕⠕⠠⠄⠃⠁⠗]
- [FOO-bar, ⠠⠠⠋⠕⠕⠤⠃⠁⠗]
- [FOO.bar, ⠠⠠⠋⠕⠕⠄⠃⠁⠗]
- [FOO+bar, ⠠⠠⠋⠕⠕⠖⠃⠁⠗]
table: |
include tables/unicode.dis
punctuation . 3
punctuation , 2
punctuation - 36
math + 235
include tables/latinLetterDef6Dots.uti
include tables/braille-patterns.cti
capsletter 6
begcapsword 6-6
endcapsword 6-3
flags: {testmode: backward}
tests:
- [⠠⠋⠕⠕⠃⠁⠗, Foobar]
- [⠠⠠⠋⠕⠕⠃⠁⠗, FOOBAR]
- [⠠⠠⠋⠕⠕⠠⠄⠃⠁⠗, FOObar]
- [⠠⠠⠋⠕⠕⠤⠃⠁⠗, FOO-bar, {xfail: true}]
- [⠠⠠⠋⠕⠕⠄⠃⠁⠗, FOO.bar, {xfail: true}]
- [⠠⠠⠋⠕⠕⠖⠃⠁⠗, FOO+bar, {xfail: true}]