Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hamming: update tests to version 2.0.1 #1015

Closed
N-Parsons opened this issue Oct 25, 2017 · 1 comment
Closed

hamming: update tests to version 2.0.1 #1015

N-Parsons opened this issue Oct 25, 2017 · 1 comment

Comments

@N-Parsons
Copy link
Contributor

As identified in #784, some of the exercise test-suites are out-of-date, hamming is one of them. It would therefore be really helpful for people to go through and update the test suite to match the canonical data.

Tests should typically be ordered according to their order in the canonical data, since this makes it easier to check and update them in future. If you think that there's a better order, please let us know your reasoning in your PR.

If there are some additional tests that currently exist in this track but which aren't in the canonical data, these can be kept if you think that they are useful. They should be placed at the bottom of the test cases, and it would also be super-helpful if you could add a comment before them saying # Additional tests for this track to make it clear that they aren't part of the canonical data.

The version string should be placed just before the first test class and followed by a blank line. For this exercise, the version string is:

# Tests adapted from `problem-specifications//canonical-data.json` @ v2.0.1

Test suite: exercism/python/exercises/hamming/hamming_test.py
Canonical data: exercism/problem-specifications/exercises/hamming/canonical-data.json

@kishan3
Copy link

kishan3 commented Oct 25, 2017

Resolved #1031

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants