Esempio n. 1
0
        public void ListString_ManageItems()
        {
            ListString list = new ListString();

            Assert.AreEqual(0, list.Count);

            list.Add("Item1");
            Assert.AreEqual(1, list.Count);

            Assert.AreEqual("Item1", list.Get(0));

            list.Remove(0);
            Assert.AreEqual(0, list.Count);
        }