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/encrypt.py

11 lines
295 B
Python
Raw Normal View History

2023-12-09 13:43:29 +00:00
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'