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