This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
kse-02/tests/test_encrypt.py
2023-12-09 17:56:51 +01:00

11 lines
No EOL
295 B
Python

from unittest import TestCase
from benchmark.caesar_cipher import encrypt
class Test_encrypt(TestCase):
def test_encrypt_1(self):
assert encrypt(strng='ToU}[G4}', key=70) == ';V<dB.zd'
def test_encrypt_2(self):
assert encrypt(strng='Ja%b7$x?S', key=91) == 'F]!^3 t;O'