Execute() 공개 메소드

public Execute ( IEnumerable arguments, ParsingContext context ) : CompileResult
arguments IEnumerable
context ParsingContext
리턴 ExcelFormulaParser.Engine.ExpressionGraph.CompileResult
 public void StdevShouldIgnoreHiddenValuesWhenIgnoreHiddenValuesIsSet()
 {
     var func = new Stdev();
     func.IgnoreHiddenValues = true;
     var args = FunctionsHelper.CreateArgs(1, 3, 5, 6);
     args.Last().SetExcelStateFlag(ExcelCellState.HiddenCell);
     var result = func.Execute(args, _parsingContext);
     Assert.AreEqual(2d, result.Result);
 }
 public void StdevShouldCalculateCorrectResult()
 {
     var func = new Stdev();
     var args = FunctionsHelper.CreateArgs(1, 3, 5);
     var result = func.Execute(args, _parsingContext);
     Assert.AreEqual(2d, result.Result);
 }