public void Test_CheckCardsInHand_RoyalStraghtFlush(string strCard) { Poker poker = new Poker("Test"); var success = poker.SetCardsInHand(strCard); poker.CheckCardsInHand(); Assert.IsTrue(poker.Pokerhand == POKERHANDS.RoyalStraightFlush); }
public void Test_CheckCardsInHand_Four_of_a_kind(string strCard) { Poker poker = new Poker("Test"); var success = poker.SetCardsInHand(strCard); poker.CheckCardsInHand(); Assert.IsTrue(poker.Pokerhand == POKERHANDS.FourOfAKind); }
public void Test_CheckCardsInHand_HighCard(string strCard) { Poker poker = new Poker("Test"); var success = poker.SetCardsInHand(strCard); poker.CheckCardsInHand(); Assert.IsTrue(poker.Pokerhand == POKERHANDS.HighCard); }