public void TestLinkedListQueueClear() { LinkedListQueue <int> queue = new LinkedListQueue <int>(); queue.Enqueue(1); queue.Enqueue(2); queue.Enqueue(3); queue.Enqueue(4); queue.Enqueue(5); queue.Clear(); Assert.AreEqual(0, queue.Count); }
public void TestLinkedListQueueClear() { LinkedListQueue<int> queue = new LinkedListQueue<int>(); queue.Enqueue(1); queue.Enqueue(2); queue.Enqueue(3); queue.Enqueue(4); queue.Enqueue(5); queue.Clear(); Assert.AreEqual(0, queue.Count); }