public void ShouldReturnInvalidOperationException() { var queue = new QueueAdt <int>(); Action action = () => queue.Peek(); action.Should().Throw <InvalidOperationException>(); }
public void PeekFirstAdded() { queue = new QueueAdt <int>(); queue.Add(firstAdded); queue.Add(2); startCount = queue.Count; valuePicked = queue.Peek(); }
public void AddToQueue() { queue = new QueueAdt <int>(); queue.Add(1); }
public void ShouldStartWithCountZero() { queue = new QueueAdt <int>(); queue.Count.Should().Be(0); }