Пример #1
0
        public void TestDeck52Cards_Burn_1()
        {
            Deck52Cards deck = new Deck52Cards();

            deck.Burn();
            Assert.Equal(51, deck.GetCards().Count);
        }
Пример #2
0
 private void DealBoardCards(int numCards)
 {
     Deck.Burn();
     for (var i = 0; i < numCards; i++)
     {
         Table.Board.Add(Deck.Deal());
     }
 }
Пример #3
0
        public void CompareDecks_DifferentSize_Returns_False()
        {
            Deck52Cards deck1 = new Deck52Cards();
            Deck52Cards deck2 = new Deck52Cards();

            deck1.Burn();
            Assert.Equal(false, deck1.Equals(deck2));
        }