public void Test_Draw() { var deck = new DDeck(0, new List <DCard>()); deck.Initialize(); var card = deck.Draw(); Assert.True(card.Value > 1); }
public List <DCard> DrawCards(int amount) { var deck = new DDeck(0, new List <DCard>()); List <DCard> returnValue = new List <DCard>(); deck.Initialize(); for (int i = 0; i < amount; i++) { returnValue.Add(deck.Draw()); } return(returnValue); }