public void StandartDivideTest_3() { op = new OperationDivide(); op.SetRight(new Operand(5)); op.SetLeft(new Operand(0)); Assert.AreEqual(0, op.Result()); }
public void StandartMultiplyTest_2() { op = new OperationMultiply(); op.SetRight(new Operand(0)); op.SetLeft(new Operand(5)); Assert.AreEqual(0, op.Result()); }
public void StandartAddTest() { op = new OperationAdd(); op.SetRight(new Operand(5)); op.SetLeft(new Operand(5)); Assert.AreEqual(10, op.Result()); }
public void StandartSubtractTest_1() { op = new OperationSubtract(); op.SetRight(new Operand(5)); op.SetLeft(new Operand(6)); Assert.AreEqual(1, op.Result()); }