Пример #1
0
def test_iter_eight_return_eleven():
    expected = 47
    actual = lucas_iter(8)
    assert actual == expected
Пример #2
0
def test_iter_six_return_eighteen():
    expected = 18
    actual = lucas_iter(6)
    assert actual == expected
Пример #3
0
def test_iter_seven_return_twentynine():
    expected = 29
    actual = lucas_iter(7)
    assert actual == expected
Пример #4
0
def test_iter_five_return_eleven():
    expected = 11
    actual = lucas_iter(5)
    assert actual == expected
Пример #5
0
def test_iter_four_return_seven():
    expected = 7
    actual = lucas_iter(4)
    assert actual == expected
Пример #6
0
def test_iter_three_return_four():
    expected = 4
    actual = lucas_iter(3)
    assert actual == expected
Пример #7
0
def test_iter_one_return_one():
    expected = 1
    actual = lucas_iter(1)
    assert actual == expected
Пример #8
0
def test_iter_zero_return_two():
    expected = 2
    actual = lucas_iter(0)
    assert actual == expected