public void TestScoreWindowCreation() { var board = new List<MinesweeperPlayer>(); var scoreWindow = new ScoresWindow(board); Assert.AreNotEqual(null, scoreWindow, "Score window created successfully"); }
/// <summary> /// The display score board. /// </summary> /// <param name="board"> /// The score board. /// </param> public void DisplayScoreBoard(List<MinesweeperPlayer> board) { var scoresWindow = new ScoresWindow(board); scoresWindow.Show(); }