public void should_remove_cards_from_deck_after_hand_is_dealt() { var deck = new DeckOfCards(); var hand = deck.DealHand(5); deck.Cards.Count.ShouldEqual(47); var anotherHand = deck.DealHand(5); deck.Cards.Count.ShouldEqual(42); }
public void should_get_the_right_number_of_cards_youve_requested() { var deck = new DeckOfCards(); var hand = deck.DealHand(5); hand.Cards.Count.ShouldEqual(5); }
public void should_throw_if_deck_doesnt_have_enough_cards() { var deck = new DeckOfCards(); var hand = deck.DealHand(80); }