apparently you can make structures like this:
@pytest.mark.parametrize("input,expected", [
(1, 2),
(3, 4),
(5, 6),
])
def test_increment(input, expected):
assert increment(input) == expected
in addition, you might consider to collect test data, e.g. matrices, time series, etc in one place. then you can extend your tests to run on the same guys, and it will likely avoid some duplication.
apparently you can make structures like this:
in addition, you might consider to collect test data, e.g. matrices, time series, etc in one place. then you can extend your tests to run on the same guys, and it will likely avoid some duplication.