Example #1
0
 def test_won_lost(self):
   b = Bet(100.0)
   b.status = False
   self.assertEqual(b.won(), False)
Example #2
0
 def test_won_lost(self):
   b = Bet(100.0)
   b.status = True
   self.assertEqual(b.won(), True)