from unittest import TestCase
from benchmark.caesar_cipher import encrypt
from benchmark.caesar_cipher import decrypt
class Test_encrypt(TestCase):
# distances_true = {}
# distances_false = {}
def test_encrypt_1(self):
assert encrypt(strng='', key=45) == ''
class Test_decrypt(TestCase):
# distances_true = {2: [0, 211, 211, 0, 0, 196, 15, 221, 189]}
# distances_false = {2: [13, 0, 0, 9, 24, 0, 0, 0, 0]}
def test_decrypt_1(self):
assert decrypt(strng=']<<aR-xF&', key=74) == 'ròòvgã.üÜ'