예제 #1
0
        public void ItemTest()
        {
            MenuTiles target = new MenuTiles();
            MenuTile  actual = new MenuTile();

            target.Add(actual);
            Assert.AreEqual(target[0], actual);
        }
예제 #2
0
        public void AddTest()
        {
            var target      = new MenuTiles();
            var historyTile = new MenuTile();

            target.Add(historyTile);
            Assert.IsTrue(target.Count == 1);
        }
예제 #3
0
        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);
        }