Exemple #1
0
        public void TestCompareHands1_TwoPair_OnePair()
        {
            IHand hand1 = new Hand("2♦ 2♠ 3♦ 3♣ 4♠");
            IHand hand2 = new Hand("A♠ A♦ K♦ Q♥ J♣");

            int compareResult = handEvaluator.CompareHands(hand1, hand2);

            Assert.IsTrue(compareResult > 0, "Two pair and one pair comparison does not work correctly.");
        }