Execute() public method

public Execute ( IEnumerable arguments, ParsingContext context ) : CompileResult
arguments IEnumerable
context ParsingContext
return ExcelFormulaParser.Engine.ExpressionGraph.CompileResult
 public void TimeShouldThrowExceptionIfSecondsIsOutOfRange()
 {
     var func = new Time();
     var result = func.Execute(FunctionsHelper.CreateArgs(10, 11, 60), _parsingContext);
 }
 public void TimeShouldReturnACorrectSerialNumber()
 {
     var expectedResult = GetTime(10, 11, 12);
     var func = new Time();
     var result = func.Execute(FunctionsHelper.CreateArgs(10, 11, 12), _parsingContext);
     Assert.AreEqual(expectedResult, result.Result);
 }
 public void TimeShouldThrowExceptionIfHourIsOutOfRange()
 {
     var func = new Time();
     var result = func.Execute(FunctionsHelper.CreateArgs(24, 12, 12), _parsingContext);
 }
 public void TimeShouldParseStringCorrectly()
 {
     var expectedResult = GetTime(10, 11, 12);
     var func = new Time();
     var result = func.Execute(FunctionsHelper.CreateArgs("10:11:12"), _parsingContext);
     Assert.AreEqual(expectedResult, result.Result);
 }