Skip to content

Commit 02a5801

Browse files
authored
Add test cases
1 parent f0f863a commit 02a5801

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

axelrod/tests/strategies/test_titfortat.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,13 @@ def test_strategy(self):
593593
actions = [(C, D), (D, D), (D, D), (D, D), (D, D)]
594594
self.versus_test(axelrod.Defector(), expected_actions=actions)
595595

596-
actions = [(C, C), (C, D), (D, C), (C, D), (D, C)]
596+
actions = [(C, C), (C, D), (D, C), (C, D), (D, C), (C, D)]
597597
self.versus_test(axelrod.Alternator(), expected_actions=actions,
598598
match_attributes={"length": -1})
599+
600+
actions = [(C, C), (C, D), (D, C), (C, D), (D, C), (D, D)]
601+
self.versus_test(axelrod.Alternator(), expected_actions=actions)
602+
599603

600604
actions = [(C, D), (D, D), (D, C), (C, C), (D, D)]
601605
self.versus_test(axelrod.Random(), expected_actions=actions,

0 commit comments

Comments
 (0)