Skip to content

hamming: reduce number of test cases #1403

@ErikSchierboom

Description

@ErikSchierboom

If one examines the canonical data of the hamming exercise, one finds that it has many different test cases. However, I would argue that many test cases don't add any value and go against our unwritten rule that new tests cases should require changes to the code to make them pass. In other words, at some point, the implementation will pass the first number of tests, and then most likely also automatically pass all the subsequent tests (except for the error handling ones).

IMHO the fix to this is to remove (most of) the unneeded test cases. What exactly the test cases are that should be removed is up for discussion.

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