Пример #1
0
        public void SecondTry_Tests(int N)
        {
            var solution = new Algorithms.Codility.Exams.SumOfArray.SumOfArray();

            var result = solution.SecondTry(N);

            var sum = 0;

            foreach (var item in result)
            {
                sum += item;
                Console.WriteLine(item);
            }

            Assert.AreEqual(0, sum);
        }