# Path: lantern/modules/atbash.py
# KEY = 'ZYXWVUTSRQPONMLKJIHGFEDCBA'
# def decrypt(ciphertext: str) -> Iterable:
# def encrypt(plaintext: str) -> Iterable:


from lantern.modules import atbash
"""Tests for the Caeser module"""



def test_decrypt():
    """Test decryption"""
    assert atbash.decrypt("uozt{Yzybolm}") == "flag{Babylon}"


def test_encrypt():
    """Test encryption"""

# Path: lantern/modules/atbash.py
# KEY = 'ZYXWVUTSRQPONMLKJIHGFEDCBA'
# def decrypt(ciphertext: str) -> Iterable:
# def encrypt(plaintext: str) -> Iterable:


# Path: tests/modules/test_atbash.py
from lantern.modules import atbash

"""Tests for the Caeser module"""



def test_decrypt():
    """Test decryption"""
    assert atbash.decrypt("uozt{Yzybolm}") == "flag{Babylon}"


def test_encrypt():
    """Test encryption"""

    assert ''.join(atbash.encrypt("flag{Babylon}")) == "uozt{Yzybolm}"