def test_encode_lowercase(): cipher = VigenereCipher("TRain") encoded = cipher.encoded("encoded in Python") assert encoded == "XECWQXUIVCRKHWA"
def test_encode_spaces(): cipher = VigenereCipher("TRAIN") encoded = cipher.encoded("ENCODED IN PYTHON") assert encoded == "XECWQXUIVCRKHWA"