Пример #1
0
        public void TestUsedCardsQueueMaker()
        {
            var cardDeck = MockBuilder.GetDeckOfCards();
            var rnd      = new Random();
            var cards    = BoardBuilder.UsedCardsQueueMaker(cardDeck, rnd);

            Assert.Contains(cardDeck.Cards[1], cards);
        }
Пример #2
0
        public void GetUsedCardsMethodTest()
        {
            var cardDeck = MockBuilder.GetDeckOfCards();

            GameBoard.GetBoard().SetUsedCards(cardDeck);

            Assert.IsNotNull(GameBoard.GetBoard().GetUsedCards());
        }