Skip to content

Commit d5c8f77

Browse files
committed
Fixed a test for the logic adjustment.
1 parent 9940623 commit d5c8f77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

axelrod/tests/strategies/test_axelrod_second.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,14 +519,14 @@ def test_strategy(self):
519519

520520
# Highly-defective opponent
521521
# It will take until turn 20 to respond decide to repond D to C
522-
opponent_actions = [D] * 16 + [C, C, C, C, C]
522+
opponent_actions = [D] * 17 + [C, C, C, C]
523523
almost_defector = axelrod.MockPlayer(actions=opponent_actions)
524524

525525
random.seed(1)
526526
actions = [(C, D)]
527527
actions += [(C, D), (D, D), (D, D), (C, D), (C, D), (C, D), (D, D),
528528
(D, D), (C, D), (C, D), (D, D), (C, D), (D, D), (C, D),
529-
(C, D), (D, C), (C, C)] # Randomly choose
529+
(C, D), (D, D), (C, C)] # Randomly choose
530530
actions += [(C, C)] # Coop for a minute
531531
actions += [(D, C), (D, C)]
532532
self.versus_test(almost_defector, expected_actions=actions)

0 commit comments

Comments
 (0)