public void LowerShouldReturnLowerCaseString() { var func = new Lower(); var result = func.Execute(FunctionsHelper.CreateArgs("ABC"), _parsingContext); Assert.AreEqual("abc", result.Result); }
public void LowerWithInvalidArgumentReturnsPoundValue() { var func = new Lower(); var args = FunctionsHelper.CreateArgs(); var result = func.Execute(args, this.ParsingContext); Assert.AreEqual(eErrorType.Value, ((ExcelErrorValue)result.Result).Type); }