Exemplo n.º 1
0
 def test_reduce_amount3(self):
     player1 = Player("ziv", 5000, 4)
     player1.reduceAmount(300)
     self.assertTrue(player1.money == 4700)
Exemplo n.º 2
0
 def test_reduce_amount2(self):
     player1 = Player("ziv", 5000, 4)
     player1.reduceAmount("gdfga")
     self.assertTrue(player1.money == 5000)