Execute() публичный Метод

public Execute ( IEnumerable arguments, ParsingContext context ) : CompileResult
arguments IEnumerable
context ParsingContext
Результат ExcelFormulaParser.Engine.ExpressionGraph.CompileResult
 public void CountAShouldIncludeEnumerableMembers()
 {
     var func = new CountA();
     var args = FunctionsHelper.CreateArgs(1d, FunctionsHelper.CreateArgs(12, 13));
     var result = func.Execute(args, _parsingContext);
     Assert.AreEqual(3d, result.Result);
 }
 public void CountAShouldReturnNumberOfNonWhitespaceItems()
 {
     var func = new CountA();
     var args = FunctionsHelper.CreateArgs(1d, 2m, 3, new DateTime(2012, 4, 1), "4", null, string.Empty);
     var result = func.Execute(args, _parsingContext);
     Assert.AreEqual(5d, result.Result);
 }
 public void CountAShouldIgnoreHiddenValuesIfIgnoreHiddenValuesIsTrue()
 {
     var func = new CountA();
     func.IgnoreHiddenValues = true;
     var args = FunctionsHelper.CreateArgs(1d, FunctionsHelper.CreateArgs(12, 13));
     args.ElementAt(0).SetExcelStateFlag(ExcelCellState.HiddenCell);
     var result = func.Execute(args, _parsingContext);
     Assert.AreEqual(2d, result.Result);
 }