Exemplo n.º 1
0
        public void Straight_Flush_Should_Not_Contain_Incorrect_Sequence_Of_Cards()
        {
            var analyser = new StraightFlushAnalyser();

            var result = analyser.IsHand(HandBuilder.HighCardHand());

            Assert.IsFalse(result);
        }
Exemplo n.º 2
0
        public void Straight_Flush_Should_Contain_Cards_Of_The_Same_Suit()
        {
            var analyser = new StraightFlushAnalyser();

            var result = analyser.IsHand(HandBuilder.StraightFlushLow());

            Assert.IsTrue(result);
        }
Exemplo n.º 3
0
        public void Straight_Flush_Should_Contain_Correct_Sequence_Of_Cards()
        {
            var analyser = new StraightFlushAnalyser();

            var result = analyser.IsHand(HandBuilder.StraightFlushLow());

            Assert.IsTrue(result);
        }
Exemplo n.º 4
0
        public void Straight_Flush_Should_Allow_Ace_To_Be_Low()
        {
            var analyser = new StraightFlushAnalyser();

            var result = analyser.IsHand(HandBuilder.StraightFlushWithAceLow());

            Assert.IsTrue(result);
        }