Esempio n. 1
0
        public void VerifyDrawHigestValueCard()
        {
            Card[] anyHand = new Card[] {
                _allCards[_allCards.Length - 1], //highest card
                _allCards[1],
                _allCards[2],
                _allCards[3],
                _allCards[4]
            };

            int  expectedValue = 10;
            Card drawnCard     = Demands.DrawHighestValue(ref anyHand);

            Assert.AreEqual(expectedValue, drawnCard.Value, Common.MessageOnFail("Drawn card should be highest card.", drawnCard));
        }