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