public void TestLinkedListQueueToString() { LinkedListQueue <int> queue = new LinkedListQueue <int>(); queue.Enqueue(1); queue.Enqueue(2); queue.Enqueue(3); queue.Enqueue(4); queue.Enqueue(5); Assert.AreEqual("1, 2, 3, 4, 5", queue.ToString()); }
public void TestLinkedListQueueToString() { LinkedListQueue<int> queue = new LinkedListQueue<int>(); queue.Enqueue(1); queue.Enqueue(2); queue.Enqueue(3); queue.Enqueue(4); queue.Enqueue(5); Assert.AreEqual("1, 2, 3, 4, 5", queue.ToString()); }