예제 #1
0
def test_two():
    result = arabicToRoman(2)
    assert result == "II"
예제 #2
0
def test_13():
    result = arabicToRoman(486)
    assert result == "CDLXXXVI"
예제 #3
0
def test_14():
    result = arabicToRoman(857)
    assert result == "DCCCLVII"
예제 #4
0
def test_11():
    result = arabicToRoman(123)
    assert result == "CXXIII"
예제 #5
0
def test_12():
    result = arabicToRoman(999)
    assert result == "CMXCIX"
예제 #6
0
def test_nine():
    result = arabicToRoman(9)
    assert result == "IX"
예제 #7
0
def test_ten():
    result = arabicToRoman(10)
    assert result == "X"
예제 #8
0
def test_seven():
    result = arabicToRoman(7)
    assert result == "VII"
예제 #9
0
def test_eight():
    result = arabicToRoman(8)
    assert result == "VIII"
예제 #10
0
def test_one():
    result = arabicToRoman(1)
    assert result == "I"
예제 #11
0
def test_six():
    result = arabicToRoman(6)
    assert result == "VI"
예제 #12
0
def test_five():
    result = arabicToRoman(5)
    assert result == "V"
예제 #13
0
def test_four():
    result = arabicToRoman(4)
    assert result == "IV"
예제 #14
0
def test_three():
    result = arabicToRoman(3)
    assert result == "III"