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