//[Fact] public void Should_Sum_Array() { var countToTenInitial = new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; var sumExpected = 55; var arrayManipulator = new ArrayManipulator(); var sumActual = arrayManipulator.Sum(countToTenInitial); Assert.Equal(sumExpected, sumActual); }
public static void RunArrays() { var arrays = new ArrayManipulator(); int test = arrays.Sum(new int[] { 1, 2, 3 }); }