def test_encipher_substitution(): assert encipher_substitution("ABC", "BAC", symbols="ABC") == "BAC" assert encipher_substitution("123", "124", symbols="1234") == "124"
def test_encipher_substitution(): assert encipher_substitution("ABC", "BAC", "ABC") == "BAC" assert encipher_substitution("123", "1243", "1234") == "124"