private IEnumerable <Player> GetAllOpponents(Tournament tournament, Player tournamentPlayer) { var playersGames = PappPairing.GetAllPreviousGames(tournament.RoundList, tournamentPlayer); var allOpponents = playersGames.Select(g => GetOpponent(g, tournamentPlayer)); return(allOpponents); }
public void TestMethod1() { var tournament = PairingSimulation.GenerateTournament(7, 20); PappPairing.PairNextRound(tournament); }