public void TenOfClubsToStringTest() { Card card = new Card(CardFace.Ten, CardSuit.Clubs); string result = card.ToString(); Assert.AreEqual("10♣", result, "The card's ToString() method does not operate correctly"); }
public void EightOfSpadesToStringTest() { Card card = new Card(CardFace.Eight, CardSuit.Spades); string result = card.ToString(); Assert.AreEqual("8♠", result, "The card's ToString() method does not operate correctly"); }
public void NineOfHeartsToStringTest() { Card card = new Card(CardFace.Nine, CardSuit.Hearts); string result = card.ToString(); Assert.AreEqual("9♥", result, "The card's ToString() method does not operate correctly"); }
public void SixOfDiamondsToStringTest() { Card card = new Card(CardFace.Six, CardSuit.Diamonds); string result = card.ToString(); Assert.AreEqual("6♦", result, "The card's ToString() method does not operate correctly"); }