예제 #1
0
                public void ShouldReturnInvalidOperationException()
                {
                    var    queue  = new QueueAdt <int>();
                    Action action = () => queue.GetNext();

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

                    valuePicked = queue.GetNext();
                }