Beispiel #1
0
        public void Test2()
        {
            var testCase = new int[] { 1, 2, 3 };

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

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

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