public void ItemTest() { MenuTiles target = new MenuTiles(); MenuTile actual = new MenuTile(); target.Add(actual); Assert.AreEqual(target[0], actual); }
public void AddTest() { var target = new MenuTiles(); var historyTile = new MenuTile(); target.Add(historyTile); Assert.IsTrue(target.Count == 1); }
public void RemoveAtTest() { MenuTiles target = new MenuTiles(); MenuTile historyTile = new MenuTile(); target.Add(historyTile); Assert.IsTrue(target.Count == 1); target.RemoveAt(0); Assert.IsTrue(target.Count == 0); }