Пример #1
0
        public void Test3()
        {
            int         target = 7;
            Stack <int> input  = new Stack <int>();
            var         result = Class48.IsInStack(target, input);

            Assert.False(result);
        }
Пример #2
0
        public void Test2()
        {
            int        target     = 7;
            List <int> stackInput = new List <int>()
            {
                1, 2, 3, 4, 5
            };
            Stack <int> input  = new Stack <int>(stackInput);
            var         result = Class48.IsInStack(target, input);

            Assert.False(result);
        }