示例#1
0
def test_88888888():
    assert number(88888888) == ('はっせんはっぴゃくはちじゅうはちまん' 'はっせんはっぴゃくはちじゅうはち')
示例#2
0
def test_four():
    assert number(4) == 'よん'
示例#3
0
def test_8007():
    assert number(8007) == 'はっせんなな'
示例#4
0
def test_10000():
    assert number(10000) == 'まん'
示例#5
0
def test_zero():
    assert number(0) == 'ぜろ'
示例#6
0
def test_3010():
    assert number(3010) == 'さんぜんじゅう'
示例#7
0
def test_601():
    assert number(601) == 'ろっぴゃくいち'
示例#8
0
def test_845():
    assert number(845) == 'はっぴゃくよんじゅうご'
示例#9
0
def test_100():
    assert number(100) == 'ひゃく'
示例#10
0
def test_310():
    assert number(310) == 'さんびゃくじゅう'
示例#11
0
def test_99():
    assert number(99) == 'きゅうじゅうきゅう'
示例#12
0
def test_40():
    assert number(40) == 'よんじゅう'
示例#13
0
def test_27():
    assert number(27) == 'にじゅうなな'
示例#14
0
def test_negative():
    with pytest.raises(ValueError):
        number(-5)
示例#15
0
def test_ten():
    assert number(10) == 'じゅう'