Пример #1
0
 public void PlayerAddMove()
 {
     Player player = new Player("Ivan");
     player.AddMove();
     Assert.AreEqual(1, player.MovesCount);
 }
Пример #2
0
 public void PlayerToString()
 {
     Player player = new Player("Ivan");
     player.DetonatedMines = 12;
     player.AddDetonatedMines(1);
     player.AddMove();
     Assert.AreEqual("Player: Ivan, Detonated mines: 13, Moves: 1", player.ToString(), "Equals");
 }