Пример #1
0
 def test_lost_lost(self):
   b = Bet(100.0)
   b.payout = -100.0
   self.assertEqual(b.lost(), True)
Пример #2
0
 def test_lost_won(self):
   b = Bet(100.0)
   self.assertEqual(b.lost(), False)