Beispiel #1
0
def test_fibonacci_of_5():
    assert fibonacci(5) == FIBONACCI[:5]
Beispiel #2
0
def test_fibonacci_of_4():
    assert fibonacci(4) == FIBONACCI[:4]
Beispiel #3
0
def test_fibonacci_of_3():
    assert fibonacci(3) == FIBONACCI[:3]
Beispiel #4
0
def test_fibonacci_of_2():
    assert fibonacci(2) == FIBONACCI[:2]
Beispiel #5
0
def test_fibonacci_of_1():
    assert fibonacci(1) == FIBONACCI[:1]
Beispiel #6
0
def test_fibonacci_of_0():
    assert fibonacci(0) == []