@given(turns=integers(min_value=1, max_value=200))
    @example(turns=3)
    @example(turns=200)
    def test_play_matches(self, turns):
        tournament = axelrod.Tournament(
            name=self.test_name,
            players=self.players,
            game=self.game,
            repetitions=self.test_repetitions)


        def make_generator():
            """Return a generator used by this method"""
            player_classes = [axelrod.Cooperator, axelrod.TitForTat,
                              axelrod.Defector, axelrod.Grudger]
            for i, player_cls in enumerate(player_classes):
                for j, opponent_cls in enumerate(player_classes):
                    if i >= j:  # These matches correspond to a round robin
                        players = (player_cls(), opponent_cls())
                        match = axelrod.Match(players, turns=turns)
                        yield ((i, j), match)

        matches_generator = make_generator()
        interactions = tournament._play_matches(matches_generator)

        self.assertEqual(len(interactions), 10)

        for index_pair, inter in interactions.items():
            self.assertEqual(len(inter), turns)
            self.assertEqual(len(index_pair), 2)
            for plays in inter:
                self.assertIsInstance(plays, tuple)
                self.assertEqual(len(plays), 2)

        # Check that matches no longer exist?
        self.assertEqual((len(list(matches_generator))), 0)
dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_tournament.py/TestTournament.test_play_matches/swapped operands of `>=`