Esempio n. 1
0
 public void AddPlayerShouldHaveNoMoreTenPlayers()
 {
     for (int i = 0; i < Highscore.MaxPlayers + 10; i++)
     {
         Highscore.AddPlayer(new Player());
     }
     Assert.AreEqual(Highscore.MaxPlayers, Highscore.Load().Count());
 }
Esempio n. 2
0
 public void PreparePlayers()
 {
     this.highscore = new Highscore();
     for (int i = 0; i < Highscore.MaxPlayers + 10; i++)
     {
         highscore.AddPlayer(new Player(i.ToString(), i + 100));
     }
 }