Ejemplo n.º 1
0
def test_from_roman_with_invalid_number():
    with pytest.raises(RomanNumeralsError):
        from_roman("ABC")
Ejemplo n.º 2
0
def test_from_roman():
    for arabic, roman in ARABIC_TO_ROMAN:
        assert from_roman(roman) == arabic