Skip to content

improvements to tests #73

Description

@clarkedavida

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions