Esempio n. 1
0
        public void Second_High_Card_Wins()
        {
            var pokerGame = new PokerGame(PokerHandTestHelper.CreateHighCardNineSixHand("Bob"),
                                          PokerHandTestHelper.CreateHighCardNineEightHand("John"));
            var result = pokerGame.PlayHand();

            Assert.AreEqual(HandRankResult.High_Card, result.RankResult);
            Assert.AreEqual("John", result.WinningPlayer);
        }