public void ShouldTestIfListContainsNumberTwo() { VectorClass<int> list = new VectorClass<int>(); list.Add(1); list.Add(2); list.Clear(); bool result = list.Contains(2); Assert.IsTrue(result); }
public void ShouldTestIfClearWorks() { VectorClass<int> list = new VectorClass<int>(); list.Add(1); list.Add(2); list.Clear(); int result = list.Count(); Assert.AreEqual(0, result); }