Exemplo n.º 1
0
                public void ShouldReturnInvalidOperationException()
                {
                    var    queue  = new QueueAdt <int>();
                    Action action = () => queue.GetNext();

                    action.Should().Throw <InvalidOperationException>();
                }
Exemplo n.º 2
0
                public void PeekFirstAdded()
                {
                    queue = new QueueAdt <int>();
                    queue.Add(firstAdded);
                    queue.Add(2);
                    startCount = queue.Count;

                    valuePicked = queue.GetNext();
                }