예제 #1
0
        public void ExistsMiddleElement(string numbersLine, bool expectedExists)
        {
            var numbers = numbersLine.Split(' ').Select(int.Parse).ToArray();

            Assert.AreEqual(expectedExists, Solution.ExistsMiddleElement(numbers));
        }