Example #1
0
        public void AddCardsToDeck_AmountOfCardsToBeCreated_CountOfCards(int amountToAdd)
        {
            //Act
            deckManager.AddCardsToDeck(amountToAdd, card, deck);

            //Asser
            Assert.IsNotNull(deck);
            Assert.IsTrue(deck.Cards.Any());
            Assert.AreEqual(amountToAdd, deck.Cards.Count);
        }