示例#1
0
 def test_winner(self):
     game = Game()
     game.shoot()
     self.assertEqual(game.winner(), 1)
示例#2
0
 def test_shoot_and_game_over(self):
     game = Game()
     game.shoot()
     self.assertTrue(game.is_game_over())