Пример #1
0
def test_convert_num_to_word_2():
    assert convert_num_to_word(
        132123) == "one hundred thirty-two thousand one hundred twenty-three"
Пример #2
0
def test_convert_num_to_word_1():
    assert convert_num_to_word(123) == "one hundred twenty-three"
Пример #3
0
def test_convert_num_to_word_4():
    assert convert_num_to_word(
        9999) == "nine thousand nine hundred ninety-nine"
Пример #4
0
def test_convert_num_to_word_5():
    assert convert_num_to_word(10000001) == "ten million one"
Пример #5
0
def test_convert_num_to_word_3():
    assert convert_num_to_word(
        2111111
    ) == "two million one hundred eleven thousand one hundred eleven"