public void CheckUpdateTest() { Shoe shoe = new Shoe(); Assert.AreEqual(shoe.CheckUpdate(), false); shoe.TakeCards(300); Assert.AreEqual(shoe.CheckUpdate(), true); }
public bool UpdateShoe(ref Shoe shoe, int countOfDecks) { if (shoe.CheckUpdate()) { shoe = new Shoe(countOfDecks); return(true); } return(false); }