# Basic round-trip tests for Macedonian uncontracted Braille # # Copyright © 2025 by Kristijan Lazarev # # 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.dis table: language: mk type: literary contraction: no __assert-match: mk-g1.utb # Keep cases short and representative. Avoid characters not defined in the table. flags: {testmode: bothDirections} tests: # Alphabet (few samples incl. Macedonian-only letters) - - "абв гдин јкљ њч ш ѓ ќ ѕ џ" - "⠁⠃⠧⠀⠛⠙⠊⠝⠀⠚⠅⠣⠀⠫⠡⠀⠱⠀⠜⠀⠌⠀⠳⠀⠻" - - "АБВ ГДИН ЈКЉ ЊЧ Ш Ѓ Ќ Ѕ Џ" - "⠪⠁⠃⠧⠀⠪⠛⠙⠊⠝⠀⠪⠚⠅⠣⠀⠪⠫⠡⠀⠨⠱⠀⠨⠜⠀⠨⠌⠀⠨⠳⠀⠨⠻" # Grave variants - - "ѐ и ѝ" - "⠈⠑⠀⠊⠀⠈⠊" - - "Ѐ и Ѝ" - "⠨⠈⠑⠀⠊⠀⠨⠈⠊" # Punctuation (common) - - "Здраво, свету." - "⠨⠵⠙⠗⠁⠧⠕⠂⠀⠎⠧⠑⠞⠥⠲" - - "Дали е точно? Да!" - "⠨⠙⠁⠇⠊⠀⠑⠀⠞⠕⠡⠝⠕⠢⠀⠨⠙⠁⠖" - - "Отвори „наводници“ и затвори." - "⠨⠕⠞⠧⠕⠗⠊⠀⠦⠝⠁⠧⠕⠙⠝⠊⠉⠊⠴⠀⠊⠀⠵⠁⠞⠧⠕⠗⠊⠲" # Numbers (a–j after numsign) - # "№" is intentionally undefined in V1.0. The symbol is rare in Macedonian # and will be assigned a braille pattern in a later version - "Број: № 12, 34 и 56." - "⠨⠃⠗⠕⠚⠒⠀⠄⡳⠭⠃⠁⠁⠋⠄⠀⠼⠁⠃⠂⠀⠼⠉⠙⠀⠊⠀⠼⠑⠋⠲" - xfail: {backward: hex representation of № is not be back-translated} - - "Датум 2025-11-12" - "⠨⠙⠁⠞⠥⠍⠀⠼⠃⠚⠃⠑⠤⠼⠁⠁⠤⠼⠁⠃" # Mixed Latin that should pass through # Latin letters share dot patterns with Macedonian Cyrillic. # Back-translation prefers Cyrillic by design in V1.0. # Users switch to a Latin table when needed. - - "E-mail: test@example.com" - "⠨⠑⠤⠍⠁⠊⠇⠒⠀⠞⠑⠎⠞⠸⠍⠑⠭⠁⠍⠏⠇⠑⠲⠉⠕⠍" - xfail: {backward: back-translation prefers Cyrillic} - - "URL: http://example.org" - "⠪⠥⠗⠇⠒⠀⠓⠞⠞⠏⠒⠸⠌⠸⠌⠑⠭⠁⠍⠏⠇⠑⠲⠕⠗⠛" - xfail: {backward: back-translation prefers Cyrillic} # Symbols that the table explicitly maps - - "Знаци: @ # $ % & * ( ) [ ] { } / \\\\ | = < > _ - : ; ' ’ ‘ , . ? ! °" - "⠨⠵⠝⠁⠉⠊⠒⠀⠸⠍⠀⠸⠼⠀⠸⠙⠀⠸⠏⠀⠸⠊⠀⠸⠳⠀⠷⠀⠾⠀⠠⠯⠀⠠⠽⠀⠠⠣⠀⠠⠜⠀⠸⠌⠀⠸⠡⠀⠸⠸⠀⠠⠶⠀⠠⠪⠀⠠⠕⠀⠸⠤⠀⠤⠀⠒⠀⠆⠀⠄⠀⠠⠴⠀⠠⠦⠀⠂⠀⠲⠀⠢⠀⠖⠀⠸⠎" # Test cases for things with ambiguous back-translation flags: {testmode: forward} tests: - # Forward translation OK. Back-translation ambiguous because both # em dash and en dash share the same braille representation. - "— –" - "⠠⠤⠀⠠⠤"