private async Task Divide() { var result = _mathOperationsService.Divide(FirstValue, SecondValue); var message = $"Result of {FirstValue} / {SecondValue} = {result}"; await _windowsApiService.ShowMessage(message); }
public void AssertDivideReturnCorrectValue(double firstNumber, double secondNumber, double expected) { var actual = _mathOperationsService.Divide(firstNumber, secondNumber); Assert.Equal(expected, actual); }