15 lines
289 B
Python
15 lines
289 B
Python
from src.codewars.kata_rot13 import rot13
|
|
import pytest
|
|
|
|
|
|
@pytest.mark.parametrize(
|
|
("s", "expected"),
|
|
[
|
|
("test", "grfg"),
|
|
("Test", "Grfg"),
|
|
("aA bB zZ 1234 *!?%", "nN oO mM 1234 *!?%"),
|
|
],
|
|
)
|
|
def test_rot13(s, expected):
|
|
assert rot13(s) == expected
|