Ejemplo n.º 1
0
        public void CanDetectHighCard()
        {
            _handModel.AddCardToHand(new CardModel(CardSuit.Club, CardValue.Ace));
            _handModel.AddCardToHand(new CardModel(CardSuit.Diamond, CardValue.Five));
            _handModel.AddCardToHand(new CardModel(CardSuit.Diamond, CardValue.Queen));
            _handModel.AddCardToHand(new CardModel(CardSuit.Spade, CardValue.Four));
            _handModel.AddCardToHand(new CardModel(CardSuit.Diamond, CardValue.Nine));

            Assert.Equal(CardValue.Ace, _handModel.GetHighCard().Value);
        }