public void RemainingTest() { var deck = new FiniteDeck(6); int initial = deck.ToArray().Length; deck.Pop(); Assert.AreEqual(deck.Remaining, initial-1); }
public void PushPopTest() { var deck = new FiniteDeck(6); Tile test_tile = new MockTile(); deck.Push(test_tile); Assert.AreEqual(deck.Pop(), test_tile); }