예제 #1
0
def test2_ten():
    actual = fibonacci2(10)
    expected = 55
    assert actual == expected
예제 #2
0
def test2_three():
    actual = fibonacci2(3)
    expected = 2
    assert actual == expected
예제 #3
0
def test2_one():
    actual = fibonacci2(1)
    expected = 1
    assert actual == expected
예제 #4
0
def test2_two():
    actual = fibonacci2(2)
    expected = 1
    assert actual == expected
예제 #5
0
def test2_zero():
    actual = fibonacci2(0)
    expected = 0
    assert actual == expected