Example #1
0
 def test_hasLost_chancesCounterIsSetToOne_shouldReturnFalse(self):
     player = Player()
     player.chancesLeft = 1
     self.assertFalse(player.hasLost())
Example #2
0
 def test_hasLost_chanchesCounterIsSetToZero_shouldReturnTrue(self):
     player = Player()
     player.chancesLeft = 0
     self.assertTrue(player.hasLost())