public static void CalculateSum_NegativeInput_ExceptionIsThrown(int number) { // Arrange Action act = () => AliquotSumCalculator.CalculateAliquotSum(number); // Assert act.Should().Throw <ArgumentException>(); }
public static void CalculateSum_SumIsCorrect(int number, int expectedSum) { // Arrange // Act var result = AliquotSumCalculator.CalculateAliquotSum(number); // Assert result.Should().Be(expectedSum); }