Example #1
0
def test_fibonacci_2():
    expected = 1
    actual = fibonacci(2)
    assert actual == expected
Example #2
0
def test_fibonacci_3():
    expected = 2
    actual = fibonacci(3)
    assert actual == expected
Example #3
0
def test_fibonacci_0():
    expected = 0
    actual = fibonacci(0)
    assert actual == expected
Example #4
0
def test_fibonacci_1():
    expected = 1
    actual = fibonacci(1)
    assert actual == expected
Example #5
0
def test_fib_two():
    actual = fibonacci(2)
    expected = 1
    assert actual == expected
Example #6
0
def test_fib_six():
    actual = fibonacci(6)
    expected = 8
    assert actual == expected
Example #7
0
def test_fib_one():
    actual = fibonacci(1)
    expected = 1
    assert actual == expected
Example #8
0
def test_fib_zero():
    actual = fibonacci(0)
    expected = 0
    assert actual == expected
Example #9
0
def test_fibonacci():
	actual = fibonacci(3)
	expect = 2
	assert actual == expect
Example #10
0
def test_fibonacci_five():
    actual = fibonacci(5)
    expected = 5
    assert actual == expected
Example #11
0
def test_fibonacci_ten():
    actual = fibonacci(10)
    expected = 55
    assert actual == expected