public void ALU_CorrectExpression_Result(string expression, string result) { string expected = result; string actual = Calculate.ALU(expression); Assert.AreEqual(expected, actual); }
public void ALU_DivideByZero_Exception(string expression) { Assert.Throws <DivideByZeroException>(() => Calculate.ALU(expression)); }
public void ALU_NotCorrectExpression_Exception(string expression) { Assert.Throws <NotCorrectException>(() => Calculate.ALU(expression)); }