public void RemoveAtForOneElementTest() { var list = new ListOnGenerics <int>(); list.Add(32); list.RemoveAt(0); Assert.AreEqual(0, list.Count); }
public void RemoveAtForSeveralElementsTest() { var list = new ListOnGenerics <int>(); list.Insert(0, 32); list.Insert(1, 48); list.Insert(1, 5); list.RemoveAt(1); Assert.AreEqual(48, list[1]); Assert.AreEqual(2, list.Count); }