We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d466ce9 commit ef5931bCopy full SHA for ef5931b
strats/test_DAlembertStrat.py
@@ -45,7 +45,7 @@ def test_on_win(self):
45
self.assertEqual(self.strat.win_count, 1)
46
self.assertEqual(self.strat.lose_count, 0)
47
48
- def test_on_win2(self):
+ def test_on_win_in_a_row(self):
49
#make 2 wins in a row
50
self.strat.balance = 1000 # Simulating a win
51
self.strat.start_balance = 1000
@@ -86,7 +86,7 @@ def test_on_lose(self):
86
self.assertEqual(self.strat.win_count, 0)
87
self.assertEqual(self.strat.lose_count, 1)
88
89
- def test_on_lose(self):
+ def test_on_lose_in_a_row(self):
90
self.strat.balance = 1000 # Simulating a loss
91
self.strat.bet = self.base_bet # 10
92
initial_bet = self.strat.bet
0 commit comments