Add missing edge cases tests for win function in ghost-gobble-arcade-game

Added two test cases for the win function that were missing:

  1. win(True, True, False) to ensure players win when invincible but not touching a ghost.

  2. win(False, False, False) to ensure players don’t win simply by not touching a ghost without having eaten the dots.

I’ve already adjusted the arcade_game_test.py code… if approved, I can resubmit the pull request.

Hi @isiy0,

Welcome to the Exercism forums! Thank you for opening this thread.

We are not accepting PRs from the community on the repo at this time, but I will take a look at your proposed test cases when I get a chance, and see if changing them is warranted…

1 Like