Esempio n. 1
0
        public void MyQueue_Version2()
        {
            var solution = new Solution0232.MyQueue_Version2();

            solution.Push(1);
            solution.Push(2);
            solution.Peek().Should().Be(1);
            solution.Pop().Should().Be(1);
            solution.Empty().Should().BeFalse();
        }