Skip to content

Commit 540b660

Browse files
souravsinghdrvinceknight
authored andcommitted
Add test for five defections at end
1 parent bb03e1f commit 540b660

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

axelrod/tests/strategies/test_titfortat.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,3 +637,7 @@ def test_strategy(self):
637637
opponent = axelrod.MockPlayer(actions=[C, C, D, D, C, D])
638638
actions = [(C, C), (C, C), (C, D), (D, D), (D, C), (D, D)]
639639
self.versus_test(opponent, expected_actions=actions)
640+
641+
opponent = axelrod.MockPlayer(actions=[C, D, D, D, D, D])
642+
actions = [(C, C), (D, D), (D, D), (D, D), (D, D), (D, D)]
643+
self.versus_test(opponent, expected_actions=actions)

0 commit comments

Comments
 (0)