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 9940623 commit d5c8f77Copy full SHA for d5c8f77
axelrod/tests/strategies/test_axelrod_second.py
@@ -519,14 +519,14 @@ def test_strategy(self):
519
520
# Highly-defective opponent
521
# It will take until turn 20 to respond decide to repond D to C
522
- opponent_actions = [D] * 16 + [C, C, C, C, C]
+ opponent_actions = [D] * 17 + [C, C, C, C]
523
almost_defector = axelrod.MockPlayer(actions=opponent_actions)
524
525
random.seed(1)
526
actions = [(C, D)]
527
actions += [(C, D), (D, D), (D, D), (C, D), (C, D), (C, D), (D, D),
528
(D, D), (C, D), (C, D), (D, D), (C, D), (D, D), (C, D),
529
- (C, D), (D, C), (C, C)] # Randomly choose
+ (C, D), (D, D), (C, C)] # Randomly choose
530
actions += [(C, C)] # Coop for a minute
531
actions += [(D, C), (D, C)]
532
self.versus_test(almost_defector, expected_actions=actions)
0 commit comments