public void CanAddTwoHoleCards() { var firstHoleCard = texasHoldEmBuilder.CreateNewCard(CardValue.Ace, CardSuit.Club); var secondHoleCard = texasHoldEmBuilder.CreateNewCard(CardValue.Ace, CardSuit.Diamond); player.AddHoleCards(firstHoleCard, secondHoleCard); CollectionAssert.Contains(player.HoleCards, firstHoleCard); CollectionAssert.Contains(player.HoleCards, secondHoleCard); }
public void CardFourDiamondAsStringReturnFourOfDiamonds() { ICard card = texasHoldEmBuilder.CreateNewCard(CardValue.Four, CardSuit.Diamond); Assert.AreEqual("Four of Diamonds", card.ToString()); }