Esempio n. 1
0
        public void reset_hand()
        {
            IPlayer player = new ComputerPlayer();
            Card    card   = new Card(Suit.Clubs, Rank.Ace);

            player.GetHand().AddCard(card);
            Assert.AreEqual(1, player.GetHand().Size());
            player.ClearHand();
            Assert.AreEqual(0, player.GetHand().Size());
        }