MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / test_end_to_end

Function test_end_to_end

ciphers/shuffled_shift_cipher.py:172–178  ·  view source on GitHub ↗

>>> test_end_to_end() 'Hello, this is a modified Caesar cipher'

(msg: str = "Hello, this is a modified Caesar cipher")

Source from the content-addressed store, hash-verified

170
171
172def test_end_to_end(msg: str = "Hello, this is a modified Caesar cipher") -> str:
173 """
174 >>> test_end_to_end()
175 'Hello, this is a modified Caesar cipher'
176 """
177 cip1 = ShuffledShiftCipher()
178 return cip1.decrypt(cip1.encrypt(msg))
179
180
181if __name__ == "__main__":

Callers

nothing calls this directly

Calls 3

decryptMethod · 0.95
encryptMethod · 0.95
ShuffledShiftCipherClass · 0.85

Tested by

no test coverage detected