public void CreatDealer_DealACard_VerifyCardIsNotNull() { // Arrange var cardDeck = new CardDeck(); var dealer = new SolitaireDealer(cardDeck); // Act var card = dealer.DealACard(); // Assert Assert.IsNotNull(card); }
public void CreatDealer_DealACard_VerifyCardDeckSize() { // Arrange CardDeck cardDeck = new CardDeck(); var dealer = new SolitaireDealer(cardDeck); // Act dealer.DealACard(); // Assert Assert.AreEqual(51, cardDeck.Cards.Count); }