public void TestIsHighScore() { HighScores higScoresList = new HighScores(2); bool actual = higScoresList.IsHighScore(12); bool expected = true; Assert.AreEqual(expected, actual); }
public void TestIsHighScoreWithFullScoreList2() { HighScores higScoresList = new HighScores(2); higScoresList.AddTopScore(new Player("a", 10)); higScoresList.AddTopScore(new Player("b", 2)); bool actual = higScoresList.IsHighScore(1); bool expected = false; Assert.AreEqual(expected, actual); }