Пример #1
0
        public void GetArraySum_5digitsArray_10Expected()
        {
            //arrange
            Partial partial = new Partial();

            int[] array = new int[5];
            for (int i = 0; i < array.Length; i++)
            {
                array[i] = i;
            }
            //act
            int value = partial.GetArraySum(array);

            //assert
            Assert.AreEqual(value, 10);
        }