public void GetNextCardWorksAsExpected() { _currentShoe = new Shoe(2); Card nextCard = _currentShoe.GetNext(); Assert.IsNotNull(nextCard); }
/// <summary> /// retrieve the next card from the shoe on behalf of the player /// </summary> /// <param name="theHand"></param> public void GetNextCard(ref List <Card> theHand) { theHand.Add(currentShoe.GetNext()); ((MainWindow)Application.Current.MainWindow).lblNumCardsRemainingInShoe.Content = "Cards In Shoe: " + currentShoe.CardsLeft.ToString(); }