public void testPlayer2Wins(string hand1, string hand2, string player1, string player2, string expectedWinner) { PokerHandsEvaluator evaluator = new PokerHandsEvaluator(player1, player2); Assert.AreEqual(expectedWinner, evaluator.Eval(hand1, hand2)); }
public void testHighestCardWin() { PokerHandsEvaluator evaluator = new PokerHandsEvaluator("kh 2h 3h 4c 8d", "2s 2h 3h 2c 2d"); }