Execute() 공개 메소드

public Execute ( IEnumerable arguments, ParsingContext context ) : CompileResult
arguments IEnumerable
context ParsingContext
리턴 ExcelFormulaParser.Engine.ExpressionGraph.CompileResult
 public void SecondShouldReturnCorrectResultWithStringArgument()
 {
     var func = new Second();
     var result = func.Execute(FunctionsHelper.CreateArgs("2012-03-27 10:11:12"), _parsingContext);
     Assert.AreEqual(12, result.Result);
 }
 public void SecondShouldReturnCorrectResult()
 {
     var func = new Second();
     var result = func.Execute(FunctionsHelper.CreateArgs(GetTime(9, 14, 17)), _parsingContext);
     Assert.AreEqual(17, result.Result);
 }