sophieher/collatz-problem

Unit Tests

Closed this issue · 0 comments

  • Write unit tests before you write the code.
  • When you encounter a bug, write a unit test that fails, fix the bug, and confirm that the unit test passes.
  • Write at least an average of 3 unit tests for each function. Tests corner cases and failure cases. Name tests logically.
  • Push and pull the unit tests to and from the grader's repository. Prepend - to the file names at GitHub (i.e. foo-TestCollatz.py and foo-TestCollatz.out). Reach consensus on the unit tests.