public DualTournamentStartDateTimeTests()
 {
     tournament = Tournament.Create("GSL 2019");
     tournamentIssueReporter = tournament.TournamentIssueReporter;
     dualTournamentRound     = tournament.AddDualTournamentRound() as DualTournamentRound;
     tournament.AddBracketRound();
 }
Exemple #2
0
 public RoundRobinStartDateTimeTests()
 {
     tournament = Tournament.Create("GSL 2019");
     tournamentIssueReporter = tournament.TournamentIssueReporter;
     roundRobinRound         = tournament.AddRoundRobinRound() as RoundRobinRound;
     tournament.AddBracketRound();
 }
Exemple #3
0
 public MatchStartDateTimeValidatorTests()
 {
     tournament = Tournament.Create("GSL 2019");
     tournamentIssueReporter = tournament.TournamentIssueReporter;
     bracketRound            = tournament.AddBracketRound() as BracketRound;
     tournament.RegisterPlayerReference(firstPlayerName);
     tournament.RegisterPlayerReference(secondPlayerName);
 }
Exemple #4
0
        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;
 }