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); }