public void DequeuePopulatedQueue() { Assert.That(PopulatedLinkedListQueue.Dequeue(), Is.EqualTo(Items[0])); Assert.That(PopulatedLinkedListQueue.Count, Is.EqualTo(Items.Length - 1)); }
public void ClearPopulatedQueue() { PopulatedLinkedListQueue.Clear(); Assert.That(PopulatedLinkedListQueue.Count, Is.EqualTo(0)); }
public void PeekPopulatedQueue() { Assert.That(PopulatedLinkedListQueue.Peek(), Is.EqualTo(Items[0])); Assert.That(PopulatedLinkedListQueue.Count, Is.EqualTo(Items.Length)); }
public void EnqueuePopulatedQueue() { PopulatedLinkedListQueue.Enqueue(Item); Assert.That(PopulatedLinkedListQueue.Count, Is.EqualTo(Items.Length + 1)); }