public void IsEmptyTest2() { UniqueList myList = new UniqueList(); myList.AddElement(123); myList.AddElement(321); myList.AddElement(132); myList.DeleteElement(123); Assert.AreEqual(false, myList.IsEmpty()); }
public void IsNotEmptyTest() { UniqueList myList = new UniqueList(); myList.AddElement(123); Assert.AreEqual(false, myList.IsEmpty()); }
public void IsEmptyTest() { UniqueList myList = new UniqueList(); Assert.AreEqual(true, myList.IsEmpty()); }
public void DeleteNonExistentElementTest() { UniqueList myList = new UniqueList(); myList.AddElement(9); myList.DeleteElement(8); }
public void DeleteElementInEmptyListTest() { UniqueList myList = new UniqueList(); myList.DeleteElement(8); }
public void AddExistentElementTest() { UniqueList myList = new UniqueList(); myList.AddElement(123); myList.AddElement(123); }
public void AddElement_UpperBorderTest() { UniqueList myList = new UniqueList(); myList.AddElement(int.MaxValue); }
public void AddElement_LowerBorderTest() { UniqueList myList = new UniqueList(); myList.AddElement(int.MinValue); }