Пример #1
0
        public void Test2()
        {
            var testCase = new int[] { 1, 2, 3 };

            Assert.That(SampleTest.solution(testCase) == 4);
        }
Пример #2
0
        public void Test4()
        {
            var testCase = new int[] { 2 };

            Assert.That(SampleTest.solution(testCase) == 1);
        }
Пример #3
0
        public void Test1()
        {
            var testCase = new int[] { 1, 3, 6, 4, 1, 2 };

            Assert.That(SampleTest.solution(testCase) == 5);
        }