@@ -538,9 +538,9 @@ def test_strategy(self):
538538 state_and_actions = [(1 , C )] * 10
539539 self .transitions_test (state_and_actions )
540540 # Visits state 2, but then comes back
541+ # Defaults if DC streak is complete. Starts streak over either way.
541542 state_and_actions = [(1 , D ), (2 , D )]
542543 self .transitions_test (state_and_actions )
543- # Visits state 2, but then comes back
544544 state_and_actions = [(1 , D ), (2 , C )]
545545 self .transitions_test (state_and_actions )
546546
@@ -567,13 +567,13 @@ class TestUsuallyDefects(TestFSMPlayer):
567567 """
568568
569569 def test_strategy (self ):
570- # Never leaves state 1 if C
570+ # Never leaves state 1 if D
571571 state_and_actions = [(1 , D )] * 10
572572 self .transitions_test (state_and_actions )
573573 # Visits state 2, but then comes back
574+ # Cooperates if CD streak is complete. Starts streak over either way.
574575 state_and_actions = [(1 , C ), (2 , D )]
575576 self .transitions_test (state_and_actions )
576- # Visits state 2, but then comes back
577577 state_and_actions = [(1 , C ), (2 , C )]
578578 self .transitions_test (state_and_actions )
579579
0 commit comments