Example #1
0
def test_plaintext():
    res = decrypt(Config.library_default().complete_config(), answer_str)

    print(res)

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