Example #1
0
        public void CanDetectFullHouse()
        {
            _handModel.AddCardToHand(new CardModel(CardSuit.Club, CardValue.Five));
            _handModel.AddCardToHand(new CardModel(CardSuit.Heart, CardValue.Five));
            _handModel.AddCardToHand(new CardModel(CardSuit.Spade, CardValue.Five));
            _handModel.AddCardToHand(new CardModel(CardSuit.Diamond, CardValue.Four));
            _handModel.AddCardToHand(new CardModel(CardSuit.Club, CardValue.Four));

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