Execute() public method

public Execute ( IEnumerable arguments, ParsingContext context ) : CompileResult
arguments IEnumerable
context ParsingContext
return ExcelFormulaParser.Engine.ExpressionGraph.CompileResult
 public void IsErrorShouldReturnTrueIfArgIsAnErrorCode()
 {
     var args = FunctionsHelper.CreateArgs(ExcelErrorCodes.Value.Code);
     var func = new IsError();
     var result = func.Execute(args, _context);
     Assert.IsTrue((bool)result.Result);
 }
 public void IsErrorShouldReturnFalseIfArgIsNotAnError()
 {
     var args = FunctionsHelper.CreateArgs("A", 1);
     var func = new IsError();
     var result = func.Execute(args, _context);
     Assert.IsFalse((bool)result.Result);
 }