예제 #1
0
        public void ItShouldMarkAPairOfEightsBetterThanAPairOfFives()
        {
            //Given
            string input = "5H 5C 6S 7S KD 2C 3S 8S 8D TD";

            //When
            var scorer = new PokerScorer();
            var result = scorer.Player1Won(input);

            //Then
            Assert.IsFalse(result);
        }
예제 #2
0
        public void ItShouldMarkHigherCardSevenBetterHigherCardTen()
        {
            //Given
            string input = "2C 3S 5S 8D 10D 5H 3C 6S 7S 2D";

            //When
            var scorer = new PokerScorer();
            var result = scorer.Player1Won(input);

            //Then
            Assert.IsTrue(result);
        }