public void PlayerAddMove() { Player player = new Player("Ivan"); player.AddMove(); Assert.AreEqual(1, player.MovesCount); }
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"); }