9 lines
209 B
Python
9 lines
209 B
Python
from src.codewars.kata_ceasar_cipher_helper import CaesarCipher
|
|
|
|
|
|
def test_cipher_helper():
|
|
c = CaesarCipher(5)
|
|
|
|
assert c.encode("Codewars") == "HTIJBFWX"
|
|
assert c.decode("HTIJBFWX") == "CODEWARS"
|