def test_done_lost(self): b = Bet(100.0) b.payout = -100.0 self.assertEqual(b.paid(), True)
def test_done_not_done(self): b = Bet(100.0) self.assertEqual(b.paid(), False)