Move roman bits

This commit is contained in:
2023-10-24 15:48:15 -04:00
parent ffb16efcdc
commit 8cc2e18965
4 changed files with 72 additions and 76 deletions
+15
View File
@@ -0,0 +1,15 @@
import pytest
import roman
@pytest.mark.parametrize(
("n", "expected"),
[
(3, "III"),
(58, "LVIII"),
(1994, "MCMXCIV"),
],
)
def test_int_to_roman(n: int, expected: str):
assert roman.i2r(n) == expected