def test_plaintext(): res = decrypt(Config.library_default().complete_config(), answer_str) print(res) assert res.lower() == answer_str.lower()
def test_braille(): res = decrypt( Config.library_default().complete_config(), "⠓⠑⠇⠇⠕⠀⠍⠽⠀⠝⠁⠍⠑⠀⠊⠎⠀⠃⠑⠑⠀⠁⠝⠙⠀⠊⠀⠇⠊⠅⠑⠀⠙⠕⠛⠀⠁⠝⠙⠀⠁⠏⠏⠇⠑⠀⠁⠝⠙⠀⠞⠗⠑⠑", ) assert res.lower() == answer_str.lower()