示例#1
0
def test_fibonacci_Two():
    actual = fibonacci(2) 
    assert  actual == 1
示例#2
0
def test_fibonacci0():
    assert fibonacci(0) == 0
示例#3
0
def test_fibonacci_second():
    assert fibonacci(2) == 1
示例#4
0
def test_fibonacci7():
    assert fibonacci(7) == 13
示例#5
0
def test_fibonacci9():
    assert fibonacci(9) == 34
示例#6
0
def test_fibonacci3():
    assert fibonacci(3) == 2
示例#7
0
def test_fibonacci5():
    assert fibonacci(5) == 5
示例#8
0
def test_fibonacci_eight():
    actual = fibonacci(8) 
    assert  actual == 21
示例#9
0
def test_fibonacci_zero():
    actual = fibonacci(0) 
    assert  actual == 0
示例#10
0
def test_fibonacci_six():
    actual = fibonacci(6) 
    assert  actual == 8
示例#11
0
def test_fibonacci_sevan():
    actual = fibonacci(7) 
    assert  actual == 13
示例#12
0
def test_fibonacci_five():
    actual = fibonacci(5) 
    assert  actual == 5
示例#13
0
def test_fibonacci_four():
    actual = fibonacci(4) 
    assert  actual == 3
示例#14
0
def test_fibonacci_Three():
    actual = fibonacci(3) 
    assert  actual == 2
示例#15
0
def test_fibo_one():
    actual = fibonacci(3)
    expected = 2
    assert actual == expected
示例#16
0
def test_fibo_two():
    actual = fibonacci(5)
    expected = 5
    assert actual == expected
示例#17
0
def test_fibonacci2():
    assert fibonacci(2) == 1
示例#18
0
def test_fibo_three():
    actual = fibonacci(10)
    expected = 55
    assert actual == expected
示例#19
0
def test_fibonacci4():
    assert fibonacci(4) == 3
示例#20
0
def test_fibo_four():
    actual = fibonacci(8)
    expected = 21
    assert actual == expected
示例#21
0
def test_fibonacci6():
    assert fibonacci(6) == 8
示例#22
0
def test_fibo_four():
    actual = fibonacci(14)
    expected = 377
    assert actual == expected
示例#23
0
def test_fibonacci8():
    assert fibonacci(8) == 21
示例#24
0
def test_fibo_five():
    actual = fibonacci(0)
    expected = 0
    assert actual == expected
示例#25
0
def test_fibonacci10():
    assert fibonacci(10) == 55
示例#26
0
def test_fibo_six():
    actual = fibonacci(1)
    expected = 1
    assert actual == expected
示例#27
0
def test_fibonacci1():
    assert fibonacci(1) == 1
示例#28
0
def test_fibo_seven():
    actual = fibonacci(2)
    expected = 1
    assert actual == expected
示例#29
0
def test_fibonacci_third():
    assert fibonacci(3) == 1
示例#30
0
def test_fibonacci_one():
    actual = fibonacci(1) 
    assert  actual == 1