public void ClearsTheList() { LinkedList<int> list = new LinkedList<int>() { 1, 2, 3 }; Assert.Equal(3, list.Count); list.Clear(); Assert.Equal(0, list.Count); }