public void Subtract_TwoNumbers_ReturnValue() { var arithmeticsOperators = new ArithmeticsOperators(); var result = arithmeticsOperators.Subtract(1, 2); Assert.AreEqual(-1, result); }
public void Divide_TwoNumbers_ReturnValue() { var arithmeticsOperators = new ArithmeticsOperators(); var result = arithmeticsOperators.Divide(1, 2); Assert.AreEqual(0.5, result); }
public void Multiply_TwoNumbers_ReturnValue() { var arithmeticsOperators = new ArithmeticsOperators(); var result = arithmeticsOperators.Multiply(1, 2); Assert.AreEqual(2, result); }
public void Add_TwoNumbers_ReturnValue() { var arithmeticsOperators = new ArithmeticsOperators(); var result = arithmeticsOperators.Add(1, 2); Assert.AreEqual(3, result); }