Example #1
0
        public void Two_Pairs_Should_Not_Include_Three_Of_A_Kind()
        {
            var analyser = new TwoPairAnalyser();

            var result = analyser.IsHand(HandBuilder.ThreeOfAKind());

            Assert.IsFalse(result);
        }
Example #2
0
        public void Two_Pairs_Should_Have_Two_Sets_Of_Cards_With_Same_Value()
        {
            var analyser = new TwoPairAnalyser();

            var result = analyser.IsHand(HandBuilder.TwoPairSevensOverTwosThreeKicker());

            Assert.IsTrue(result);
        }