public void Summation_AllArraysNot123InAnyOrder_ReturnArraySum(int[] values, int expected) { // Arrange var ios11Calculator = new Ios11Calculator(); // Act var result = ios11Calculator.Summation(values); // Assert result.Should().Be(expected); }
public void Summation_123InAnyOrder_Return24(int[] values) { // Arrange var ios11Calculator = new Ios11Calculator(); // Act var result = ios11Calculator.Summation(values); // Assert result.Should().Be(24, "Because the iOS11 Calculator is wrong."); }