☰
Debian Codegraph
@
4.1.0-1
/
/
python
/
tests
/
test_round_trip.py
☽
☼
python/tests/test_round_trip.py
code
plain
raw
0BSD
or
CC0-1.0
2024 Adam Turner
debian/copyright
1
from roman_numerals import (
2
MAX,
3
MIN,
4
RomanNumeral,
5
)
6
7
8
def test_round_trip() -> None:
9
for n in range(MIN, MAX + 1):
10
num = RomanNumeral(n)
11
parsed = RomanNumeral.from_string(str(num))
12
assert num == parsed