Exemplo n.º 1
0
 static void Main(string[] args)
 {
     //Poker.GetPattern("3C 4D 6C 9H 10H");
     //Card[] cards;
     //Poker.GetPattern("10C JC QC KC AC",out cards);
     //PokerHand.Play("2C 2S 6D 6H 9H", "3C 3S 7D 7H 9D");
     PokerHand.Play("2C 2S 6D 6H 9H", "3C 3S 7D 7H 9D");
 }
Exemplo n.º 2
0
        public void GetWinner(string batman, string superman, string expected)
        {
            var answer = PokerHand.Play(batman, superman);

            Assert.AreEqual(expected, answer);
        }