コード例 #1
0
 def test_GivenAGameFinished_whenAskIsFinished_ThenReturnTrue(self):
     game = GameBuilder().finished().build()
     self.assertTrue(game.isFinished())
コード例 #2
0
 def test_GivenAGameUnfinished_whenAskIsFinished_ThenReturnFalse(self):
     game = GameBuilder().foundationComplete().build()
     self.assertFalse(game.isFinished())