blob: 9b4d3dd193702ab073bdd15911b00c00893ddd1c [file] [log] [blame]
# Test if the emphasis handling works as advertised (using just
# begemph and endemph without any context)
table: [tables/unicode.dis, tests/tables/emphasis-no-context.utb]
tests:
- # no emphasis, just warming up
- abcdefg
- ⠁⠃⠉⠙⠑⠋⠛
- # plain old emphasis
- abcdefg
- ⠨⠄⠁⠃⠉⠙⠑⠋⠛⠨⠤
- typeform:
italic: '+++++++'
- # emphasis just one word
- abc defg
- ⠨⠄⠁⠃⠉⠨⠤ ⠙⠑⠋⠛
- typeform:
italic: '+++ '
- # emphasis across multiple words
- abc defg
- ⠨⠄⠁⠃⠉ ⠙⠑⠋⠛⠨⠤
- typeform:
italic: '++++++++'
- # emphasis within word
- abcdefg
- ⠁⠃⠨⠄⠉⠙⠨⠤⠑⠋⠛
- typeform:
italic: ' ++ '
- # emphasis across multiple words
- abc abc abc defg defg
- ⠨⠄⠁⠃⠉ ⠁⠃⠉ ⠁⠃⠉ ⠙⠑⠋⠛⠨⠤ ⠙⠑⠋⠛
- typeform:
italic: '++++++++++++++++ '