Example #1
0
def test_mix():
    assert trans('1776invalid') == ''
Example #2
0
def test_decimal():
    assert trans(1.776) == ''
Example #3
0
def test_string():
    assert trans('invalid') == ''
Example #4
0
def test_3():
    assert trans(1776) == 'MDCCLXXVI'
Example #5
0
def test_2():
    assert trans(6) == 'VI'
Example #6
0
def test_1():
    assert trans(1014) == 'MXIV'