Exemple #1
0
 public void BeforeMatch()
 {
     for (int i = 0; i < 1; i++)
     {
         TeamMatch team = new TeamMatch(i, 3);
         team.registerTeam(1, 1, 1, 5);
         bool x = team.Regis_beforeMatch();
         Assert.AreEqual(false, x);
     }
 }
Exemple #2
0
        public void RegisterTeam()
        {
            TeamMatch TeamA  = new TeamMatch(1, 1);
            bool      expect = false;

            Character[] Team = TeamA.registerTeam(1, 2, 1, 12);
            for (int a = 0; a < Team.Length; a++)
            {
                Console.Write(Team[a].ID1);
            }
            Assert.AreEqual(expect, false);
        }