Execute() 공개 메소드

public Execute ( IEnumerable arguments, ParsingContext context ) : CompileResult
arguments IEnumerable
context ParsingContext
리턴 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);
 }