public DualTournamentStartDateTimeTests() { tournament = Tournament.Create("GSL 2019"); tournamentIssueReporter = tournament.TournamentIssueReporter; dualTournamentRound = tournament.AddDualTournamentRound() as DualTournamentRound; tournament.AddBracketRound(); }
public RoundRobinStartDateTimeTests() { tournament = Tournament.Create("GSL 2019"); tournamentIssueReporter = tournament.TournamentIssueReporter; roundRobinRound = tournament.AddRoundRobinRound() as RoundRobinRound; tournament.AddBracketRound(); }
public MatchStartDateTimeValidatorTests() { tournament = Tournament.Create("GSL 2019"); tournamentIssueReporter = tournament.TournamentIssueReporter; bracketRound = tournament.AddBracketRound() as BracketRound; tournament.RegisterPlayerReference(firstPlayerName); tournament.RegisterPlayerReference(secondPlayerName); }
private Tournament() { _created = DateTime.Now; Id = Guid.NewGuid(); Rounds = new List <RoundBase>(); PlayerReferences = new List <PlayerReference>(); Betters = new List <Better>(); TournamentIssueReporter = new TournamentIssueReporter(); }
public TournamentIssueReporterTests() { tournament = Tournament.Create("GSL 2019"); round = tournament.AddBracketRound(); tournament.RegisterPlayerReference("Maru"); tournament.RegisterPlayerReference("Stork"); group = round.Groups.First(); match = group.Matches.First(); tournamentIssueReporter = new TournamentIssueReporter(); }
public BracketStartDateTimeTests() { tournament = Tournament.Create("GSL 2019"); tournamentIssueReporter = tournament.TournamentIssueReporter; bracketRound = tournament.AddBracketRound() as BracketRound; }