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 a49d448 commit 69723eeCopy full SHA for 69723ee
axelrod/tests/strategies/test_titfortat.py
@@ -689,3 +689,8 @@ def test_strategy(self):
689
opponent = axelrod.MockPlayer(actions=[acts[1] for acts in actions])
690
self.versus_test(opponent=opponent,
691
expected_actions=actions, init_kwargs={'N': 3, 'M': 2})
692
+
693
+ def test_varying_memory_depth(self):
694
+ self.assertEqual(self.player().classifier['memory_depth'], 1)
695
+ self.assertEqual(self.player(0, 3).classifier['memory_depth'], 3)
696
+ self.assertEqual(self.player(5, 3).classifier['memory_depth'], 5)
0 commit comments