예제 #1
0
def test_zero_return_two():
    expected = 2
    actual = lucas(0)
    assert actual == expected
예제 #2
0
def test_seven_return_twentynine():
    expected = 29
    actual = lucas(7)
    assert actual == expected
예제 #3
0
def test_eight_return_eleven():
    expected = 47
    actual = lucas(8)
    assert actual == expected
예제 #4
0
def test_six_return_eighteen():
    expected = 18
    actual = lucas(6)
    assert actual == expected
예제 #5
0
def test_five_return_eleven():
    expected = 11
    actual = lucas(5)
    assert actual == expected
예제 #6
0
def test_four_return_seven():
    expected = 7
    actual = lucas(4)
    assert actual == expected
예제 #7
0
def test_three_return_four():
    expected = 4
    actual = lucas(3)
    assert actual == expected
예제 #8
0
def test_one_return_one():
    expected = 1
    actual = lucas(1)
    assert actual == expected