예제 #1
0
        public void HandToString()
        {
            Deck deck = new Deck();
            deck.Shuffle(123456);
            IHand[] hands = deck.Deal(13, 1);

            Hand h = new Hand(hands[0]);

            Assert.AreEqual(10, h.Points());
            Assert.AreEqual(2, h.ExtraPoints());
        }
예제 #2
0
 public void HandExtender_EmptyHandGives12ExtraPoints()
 {
     Hand hand = new Hand();
     Assert.AreEqual(12, hand.ExtraPoints());
 }