Пример #1
0
        public void TestFindGames_Bad_IrrationalFilters()
        {
            _bridge.Login(LegalUserName, LegalPass);
            var activeGames = _bridge.FindGamesWithFilter(LegalUserName, true, "CoolLimit", -1, 0, 4, 2, true);

            Assert.IsTrue(activeGames.Count == 0);
        }
Пример #2
0
        public IList FindGamesWithFilter(string legalUserName, bool leagueOnly, string gameType, int buyInPolicy, int chipPolicy,
                                         int minBet, int minPlayers, bool sepctatingAllowed)
        {
            var s = _real != null?_real.FindGamesWithFilter(legalUserName, leagueOnly, gameType, buyInPolicy, chipPolicy,
                                                            minBet, minPlayers, sepctatingAllowed) : new List <string>
            {
                "Good Game Name"
            };

            return(s);
        }