You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
395 B

  1. from ..hangman import check
  2. from ..hangman import ALPHABET
  3. tests = [
  4. {
  5. 'new': 'this/is/so/complicated',
  6. 'prev':'...s/.s/s./.........e.',
  7. 'remaining_letters':ALPHABET
  8. },
  9. {
  10. 'new':'./a/b/../',
  11. 'prev':'../../..../...',
  12. 'remaining_letters':ALPHABET
  13. }
  14. ]
  15. def test():
  16. for test in tests:
  17. print(test)
  18. print(check(**test))