示例#1
0
        public void BothPlayers_Full_House_HighRank_Wins()
        {
            var pokerGame = new PokerGame(PokerHandTestHelper.CreateFullHouse3Fives2NinesHand("John"),
                                          PokerHandTestHelper.CreateFullHouse3Jacks2FoursHand("Bob"));
            var result = pokerGame.PlayHand();

            Assert.AreEqual(HandRankResult.Full_House, result.RankResult);
            Assert.AreEqual("Bob", result.WinningPlayer);
        }