Skip to content

Commit 020dba4

Browse files
committed
add name
1 parent bcdf817 commit 020dba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axelrod/tests/strategies/test_momentum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_initialisation(self):
2626

2727
def test_repr(self):
2828
player = self.player(alpha=0.9, threshold=0.8)
29-
self.assertEqual(repr(player), "Momentum: 0.9, 0.8")
29+
self.assertEqual(repr(player), "Momentum: 1.0, Alpha: 0.9, Threshold: 0.8")
3030

3131
def test_strategy(self):
3232
actions = [(C, C)]

0 commit comments

Comments
 (0)