Пример #1
0
        public void CanDetectStraightFlush()
        {
            _handModel.AddCardToHand(new CardModel(CardSuit.Club, CardValue.Five));
            _handModel.AddCardToHand(new CardModel(CardSuit.Club, CardValue.Six));
            _handModel.AddCardToHand(new CardModel(CardSuit.Club, CardValue.Seven));
            _handModel.AddCardToHand(new CardModel(CardSuit.Club, CardValue.Eight));
            _handModel.AddCardToHand(new CardModel(CardSuit.Club, CardValue.Nine));

            Assert.True(_handModel.HasStraightFlush());
        }