Пример #1
0
        public void Problem334_Tests_3()
        {
            int[] arr = new int[] { 2, 1, 5, 0, 4, 6 };
            bool  act = Problem334.IncreasingTriplet(arr);
            bool  exp = true;

            Assert.Equal(exp, act);
        }
Пример #2
0
        public void Problem334_Tests_1()
        {
            int[] arr = new int[] { 1, 2, 3, 4, 5 };
            bool  act = Problem334.IncreasingTriplet(arr);
            bool  exp = true;

            Assert.Equal(exp, act);
        }
Пример #3
0
        public void Problem334_Tests_2()
        {
            int[] arr = new int[] { 5, 4, 3, 2, 1 };
            bool  act = Problem334.IncreasingTriplet(arr);
            bool  exp = false;

            Assert.Equal(exp, act);
        }