Example #1
0
def test_1():
    """

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

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

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

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

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

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

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

    :return:
    """
    assert roman.convert("XLIII") == 43
Example #18
0
def test_roman_11_to_99(arabic, roman):
    assert convert(arabic) == roman