def testWinAmount(self): o = Outcome('red', 1) b = Bet(1, o) self.assertEqual(b.winAmont(), 2)
def win(self, bet: Bet): self.stake += bet.winAmont() self.lossCount = 0