示例#1
0
def test_10():
    assert sumDigits(235) == 10
示例#2
0
def test_1():
    assert sumDigits(49) == 13
示例#3
0
def test_8():
    assert sumDigits(11111) == 5
示例#4
0
def test_9():
    assert sumDigits(10110) == 3
示例#5
0
def test_0():
    assert sumDigits(126) == 9
示例#6
0
def test_7():
    assert sumDigits(1111) == 4
示例#7
0
def test_6():
    assert sumDigits(730) == 10
示例#8
0
def test_5():
    assert sumDigits(0) == 0
示例#9
0
def test_4():
    assert sumDigits(1) == 1
示例#10
0
def test_3():
    assert sumDigits(10) == 1
示例#11
0
def test_2():
    assert sumDigits(12) == 3