Exemplo n.º 1
0
 /// <summary>
 /// Creates a new hand for the current player
 /// </summary>
 /// <returns>PokerHand</returns>
 public PokerHand NewHand()
 {
     this.hand = new PokerHand();
     return(this.hand);
 }
Exemplo n.º 2
0
        public void GetWinner(string batman, string superman, string expected)
        {
            var answer = PokerHand.Play(batman, superman);

            Assert.AreEqual(expected, answer);
        }