Skip to content

Standardize unit tests #45

@dgmiller

Description

@dgmiller

The format is as follows:

# import statements
import ...

def test_feature_or_function_name():
    """Docstring describing what is being tested."""
    
    # Case 1: The type of test (for example, add two monomials with positive coeffs)
    ...test cases here...
    assert ...
    assert ...
    assert ....

    # Case 2: Another type of test (for example, add two monomials with negative coeffs)
    ...test cases here...
    assert ...
    assert ...
    assert ...

    .
    .
    .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions