Exemple #1
0
def test_8():
    assert factorial(12) == 479001600
Exemple #2
0
def test_1():
    assert factorial(2) == 2
Exemple #3
0
def test_0():
    assert factorial(1) == 1
Exemple #4
0
def test_7():
    assert factorial(8) == 40320
Exemple #5
0
def test_6():
    assert factorial(7) == 5040
Exemple #6
0
def test_5():
    assert factorial(6) == 720
Exemple #7
0
def test_4():
    assert factorial(5) == 120
Exemple #8
0
def test_3():
    assert factorial(4) == 24
Exemple #9
0
def test_2():
    assert factorial(3) == 6