Skip to content

Instantly share code, notes, and snippets.

@sleepyfox
Last active November 13, 2017 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sleepyfox/573cd9fcdc81fdd8b60c2fa18962be04 to your computer and use it in GitHub Desktop.
Save sleepyfox/573cd9fcdc81fdd8b60c2fa18962be04 to your computer and use it in GitHub Desktop.
A starting point for the Three Men's Morris game kata in Python
"A test suite for a Three Men's Morris game"
import unittest
class Game():
def thing(self):
return False
class ThreeMensMorrisTests(unittest.TestCase):
def test_thing(self):
"test thing is True"
self.game = Game()
self.assertTrue(self.game.thing())
# Run the tests with `python test_game.py`
if __name__ == "__main__":
unittest.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment