We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bb1c25 commit cffea71Copy full SHA for cffea71
Automated Game Testing Framework/game_testing_framework.py
@@ -1,5 +1,6 @@
1
import unittest
2
3
+
4
class Game:
5
def __init__(self):
6
self.is_running = False
@@ -25,6 +26,7 @@ def quit(self):
25
26
27
return "Game quit."
28
29
30
class TestGame(unittest.TestCase):
31
@classmethod
32
def setUpClass(cls):
@@ -53,5 +55,6 @@ def test_non_running_actions(self):
53
55
result = self.game.play("move_forward")
54
56
self.assertEqual(result, "Game is not running.")
57
58
59
if __name__ == "__main__":
60
unittest.main()
0 commit comments