public void DivideCalculatorTest() { SharedCalculator _calculatorTest = new SharedCalculator(); double result = _calculatorTest.Divide(4, 2); Assert.AreEqual(2, result); }
public void SubtractCalculatorTest() { SharedCalculator _calculatorTest = new SharedCalculator(); double result = _calculatorTest.Subtract(9, 8); Assert.AreEqual(1, result); }
public void MultiplyCalculatorTest() { SharedCalculator _calculatorTest = new SharedCalculator(); double result = _calculatorTest.Multiply(1, 2); Assert.AreEqual(2, result); }
public void AddCalculatorTest() { SharedCalculator _calculatorTest = new SharedCalculator(); double result = _calculatorTest.Add(1, 2); Assert.AreEqual(3, result); }