コード例 #1
0
        public void AddCardToDeck_ShouldBe53Cards()
        {
            CardName cardName = new CardName(ECardName.Jack);
            CardSuit cardSuit = new CardSuit(ECardSuit.Diamonds);
            Card     card     = new Card(cardName, cardSuit);

            IDeckOfCards sut = new DeckOfCards();

            sut.AddCardToDeck(card);
            Assert.AreEqual(sut.GetCards().Count, 53);
        }