from fibonacci import naive, dynamic
import pytest


def pytest_generate_tests(metafunc):
    # fibonacci sequence
    fib = [[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144]]
    if 'fib' in metafunc.fixturenames:
        metafunc.parametrize('fib', fib)


def test_naive(fib):
    for i in range(len(fib)):
        assert naive(i) == fib[i]


def test_dynamic(fib):
    for i in range(len(fib)):
        assert dynamic(i) == fib[i]

0ecde8a0540eae4ffc87e165c9eb545cff928e68
<mask token>


def test_dynamic(fib):
    for i in range(len(fib)):
        assert dynamic(i) == fib[i]

<mask token>


def test_naive(fib):
    for i in range(len(fib)):
        assert naive(i) == fib[i]


def test_dynamic(fib):
    for i in range(len(fib)):
        assert dynamic(i) == fib[i]

<mask token>


def pytest_generate_tests(metafunc):
    fib = [[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144]]
    if 'fib' in metafunc.fixturenames:
        metafunc.parametrize('fib', fib)


def test_naive(fib):
    for i in range(len(fib)):
        assert naive(i) == fib[i]


def test_dynamic(fib):
    for i in range(len(fib)):
        assert dynamic(i) == fib[i]

from fibonacci import naive, dynamic
import pytest


def pytest_generate_tests(metafunc):
    fib = [[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144]]
    if 'fib' in metafunc.fixturenames:
        metafunc.parametrize('fib', fib)


def test_naive(fib):
    for i in range(len(fib)):
        assert naive(i) == fib[i]


def test_dynamic(fib):
    for i in range(len(fib)):
        assert dynamic(i) == fib[i]

from fibonacci import naive, dynamic
import pytest


def pytest_generate_tests(metafunc):
    # fibonacci sequence
    fib = [[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144]]
    if 'fib' in metafunc.fixturenames:
        metafunc.parametrize('fib', fib)


def test_naive(fib):
    for i in range(len(fib)):
        assert naive(i) == fib[i]


def test_dynamic(fib):
    for i in range(len(fib)):
        assert dynamic(i) == fib[i]
