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 bcdf817 commit 020dba4Copy full SHA for 020dba4
axelrod/tests/strategies/test_momentum.py
@@ -26,7 +26,7 @@ def test_initialisation(self):
26
27
def test_repr(self):
28
player = self.player(alpha=0.9, threshold=0.8)
29
- self.assertEqual(repr(player), "Momentum: 0.9, 0.8")
+ self.assertEqual(repr(player), "Momentum: 1.0, Alpha: 0.9, Threshold: 0.8")
30
31
def test_strategy(self):
32
actions = [(C, C)]
0 commit comments