public void CheckReturnedCardIsDealt() { Shoe shoe = new Shoe(1); var card = shoe.GetCard(); Assert.True(card.dealt); }
public void CheckGetCardReturnValue() { Shoe shoe = new Shoe(1); var card = shoe.GetCard(); Assert.IsType <Card>(card); }
public void CheckGetCardWhenShoeEmpty() { Shoe shoe = new Shoe(1); shoe.shoeOfCards.ForEach(card => { card.dealt = true; }); var card = shoe.GetCard(); Assert.Null(card); }