public void findActiveAvailableGamesFailTest() { Assert.IsTrue(center.endGame(gamesList[0].gameId).success); sl.removeGame(4); List <TexasHoldemGame> active = (List <TexasHoldemGame>)sl.findAllActiveAvailableGames(); Assert.AreNotEqual(active.Count, gamesList.Count); }
public bool removeGame(int gameId) { return((bool)sl.removeGame(gameId)); }