Exemplo n.º 1
0
 def test_lost_lost(self):
   b = Bet(100.0)
   b.payout = -100.0
   self.assertEqual(b.lost(), True)
Exemplo n.º 2
0
 def test_lost_won(self):
   b = Bet(100.0)
   self.assertEqual(b.lost(), False)