public void AddTwoNumbersReturnsExpectedSum() { var expected = 31; var actual = SumHelper.AddTwoNumbers(10, 21); Assert.Equal(expected, actual); }
public void AddTwoNumbersOverflowsIfNumbersAreMaxValue() { var expected = -2; var actual = SumHelper.AddTwoNumbers(int.MaxValue, int.MaxValue); Assert.Equal(expected, actual); }