Esempio n. 1
0
def test_lucas_0():
    expected = 2
    actual = lucas(0)
    assert actual == expected
Esempio n. 2
0
def test_lucas_1():
    expected = 1
    actual = lucas(1)
    assert actual == expected
Esempio n. 3
0
def test_lucas_2():
    expected = 3
    actual = lucas(2)
    assert actual == expected
Esempio n. 4
0
def test_lucas_3():
    expected = 4
    actual = lucas(3)
    assert actual == expected
Esempio n. 5
0
def test_luc_two():
    actual = lucas(2)
    expected = 3
    assert actual == expected
Esempio n. 6
0
def test_luc_six():
    actual = lucas(6)
    expected = 18
    assert actual == expected
Esempio n. 7
0
def test_luc_one():
    actual = lucas(1)
    expected = 1
    assert actual == expected
Esempio n. 8
0
def test_luc_zero():
    actual = lucas(0)
    expected = 2
    assert actual == expected
Esempio n. 9
0
def test_lucas():
	actual = lucas(3)
	expect = 4
	assert actual == expect
Esempio n. 10
0
def test_lucas_ten():
    actual = lucas(10)
    expected = 123
    assert actual == expected
Esempio n. 11
0
def test_lucas_five():
    actual = lucas(5)
    expected = 11
    assert actual == expected