@@ -538,9 +538,9 @@ def test_strategy(self):
538
538
state_and_actions = [(1 , C )] * 10
539
539
self .transitions_test (state_and_actions )
540
540
# Visits state 2, but then comes back
541
+ # Defaults if DC streak is complete. Starts streak over either way.
541
542
state_and_actions = [(1 , D ), (2 , D )]
542
543
self .transitions_test (state_and_actions )
543
- # Visits state 2, but then comes back
544
544
state_and_actions = [(1 , D ), (2 , C )]
545
545
self .transitions_test (state_and_actions )
546
546
@@ -567,13 +567,13 @@ class TestUsuallyDefects(TestFSMPlayer):
567
567
"""
568
568
569
569
def test_strategy (self ):
570
- # Never leaves state 1 if C
570
+ # Never leaves state 1 if D
571
571
state_and_actions = [(1 , D )] * 10
572
572
self .transitions_test (state_and_actions )
573
573
# Visits state 2, but then comes back
574
+ # Cooperates if CD streak is complete. Starts streak over either way.
574
575
state_and_actions = [(1 , C ), (2 , D )]
575
576
self .transitions_test (state_and_actions )
576
- # Visits state 2, but then comes back
577
577
state_and_actions = [(1 , C ), (2 , C )]
578
578
self .transitions_test (state_and_actions )
579
579
0 commit comments