def test_default_bet_negative_funds(self): s = AllInStrategy() expected = 0.0 actual = s.bet(funds=-100.0) self.assertEqual(actual, expected)
def test_default_bet_amount(self): s = AllInStrategy() funds = 100.0 expected = funds actual = s.bet(funds=funds) self.assertEqual(actual, expected)