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