def test_lost_lost(self): b = Bet(100.0) b.payout = -100.0 self.assertEqual(b.lost(), True)
def test_lost_won(self): b = Bet(100.0) self.assertEqual(b.lost(), False)