示例#1
0
def test_1():
    """

    :return:
    """
    assert roman.convert("I") == 1
示例#2
0
def test_16():
    """

    :return:
    """
    assert roman.convert("XVI") == 16
示例#3
0
def test_14():
    """

    :return:
    """
    assert roman.convert("XIV") == 14
示例#4
0
def test_4():
    """

    :return:
    """
    assert roman.convert("IV") == 4
示例#5
0
def test_5():
    """

    :return:
    """
    assert roman.convert("V") == 5
示例#6
0
def test_3():
    assert roman.convert("III") == 3
示例#7
0
def test_3():
    """

    :return:
    """
    assert roman.convert("III") == 3
示例#8
0
def test_25():
    assert roman.convert("XXV") == 25
示例#9
0
def test_43():
    assert roman.convert("XLIII") == 43
示例#10
0
def test_14():
    assert roman.convert("XIV") == 14
示例#11
0
def test_1():
    assert roman.convert("I") == 1
示例#12
0
def test_16():
    assert roman.convert("XVI") == 16
示例#13
0
def test_5():
    assert roman.convert("V") == 5
示例#14
0
def test_4():
    assert roman.convert("IV") == 4
示例#15
0
def test_25():
    """

    :return:
    """
    assert roman.convert("XXV") == 25
示例#16
0
def test_2():
    assert roman.convert("II") == 2
示例#17
0
def test_43():
    """

    :return:
    """
    assert roman.convert("XLIII") == 43
示例#18
0
文件: test_roman.py 项目: glnds/katas
def test_roman_11_to_99(arabic, roman):
    assert convert(arabic) == roman