Пример #1
0
        public void TestCalculateSumOfNegative()
        {
            int[] arr    = new int[] { 0, 1, -2, 3, -4, 5 };
            int   result = Part2.CalculateSumOfNegative(arr);

            Assert.AreEqual(-6, result);
        }