@@ -255,7 +255,7 @@ def test_strategy(self):
255255
256256
257257class TestMemoryTwoCooperator (TestCooperator ):
258- """Cooperator is equivalent to MemoryOnePlayer ((1, 1, 1 , 1), C)"""
258+ """Cooperator is equivalent to MemoryTwoPlayer ((1, 1, ... , 1), C)"""
259259 name = "Generic Memory Two Player: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], (C, C)"
260260 player = lambda x : axl .MemoryTwoPlayer (sixteen_vector = [1 ] * 16 , initial = (C , C ))
261261 expected_classifier = {
@@ -270,7 +270,7 @@ class TestMemoryTwoCooperator(TestCooperator):
270270
271271
272272class TestMemoryTwoDefector (TestDefector ):
273- """Defector is equivalent to MemoryOnePlayer ((0, 0, 0 , 0), D)"""
273+ """Defector is equivalent to MemoryTwoPlayer ((0, 0, ... , 0), D)"""
274274 name = "Generic Memory Two Player: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], (D, D)"
275275 player = lambda x : axl .MemoryTwoPlayer (sixteen_vector = [0 ] * 16 , initial = (D , D ))
276276 expected_classifier = {
@@ -291,10 +291,9 @@ def four_vector_to_sixteen_vector(four_vector):
291291
292292
293293class TestMemoryTwoAlternator (TestAlternator ):
294- """Alternator is equivalent to MemoryOnePlayer(( 0, 0, 1, 1), C)"""
294+ """Alternator is equivalent to MemoryTwoPlayer( 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1 ), C). """
295295 name = "Generic Memory Two Player: [0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1], (C, D)"
296296 player = lambda x : axl .MemoryTwoPlayer (sixteen_vector = four_vector_to_sixteen_vector ((0 , 0 , 1 , 1 )), initial = (C , D ))
297- # player = lambda x: axl.MemoryTwoPlayer(sixteen_vector=four_vector_to_sixteen_vector((1, 1, 0, 0)), initial=(C, D))
298297 expected_classifier = {
299298 "memory_depth" : 1 ,
300299 "stochastic" : False ,
0 commit comments