public void Divide_8_2_Return_4() { // Act var result = _controller.Divide(8, 2); // Assert Assert.Equal("4", result.Value); }
public void dividing_two_numbers_should_return_correct_amount_when_called() { // Arrange int firstNumber = 12; int secondNumber = 4; var expected = 3; // Act var actual = _calculator.Divide(firstNumber, secondNumber); // Assert Assert.AreEqual(expected, actual); }