public void Less_Than_Zero_Returns_Minus_One() { // Arrange // Act var result = MathsF.Factorial(-1); // Assert Assert.Equal(-1, result); }
public void Returns_Correct_Result(long input, long expected) { // Arrange // Act var result = MathsF.Factorial(input); // Assert Assert.Equal(expected, result); }