public void GameListExistsTest() { var gameList = new GameList(); gameList.Add(new Game( 1, "Name1", "Description1")); gameList.Add(new Game( 2, "Name2", "Description2")); gameList.Add(new Game( 3, "Name3", "Description3")); Assert.IsFalse(gameList.Exists(0)); Assert.IsFalse(gameList.Exists(-1)); Assert.AreEqual(gameList.Exists(1), true); Assert.AreEqual(gameList.Exists(2), true); Assert.AreEqual(gameList.Exists(3), true); }