

def test_effect_of_strategy(self):
    'Simply does the opposite to what the strategy did last time.'
    self.markov_test([D, D, C, C])
    for i in range(10):
        self.responses_test([], [], ([C, D] * i))
    self.responses_test([C, D, D, D], [C, C, C, C], [C])
    self.responses_test([C, C, D, D, C], [C, D, C, C, C], [D])

dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_alternator.py TestAlternator.test_effect_of_strategy/original