public void RemoveMethodShouldWorkCorrectly() { var list = new CustomDoubleLinkedList <int>(); list.Add(1); list.Add(4); list.Add(6); list.Remove(4); Assert.Equal(2, list.Count); }
public void ContainsMethodShouldReturnFalseIfElementNotExistsInList() { var list = new CustomDoubleLinkedList <int>(); list.Add(1); list.Add(4); list.Add(6); list.Remove(4); Assert.False(list.Contains(4)); }