public void Downcase() { var input = new StringValue("Hello World"); var arguments = new FilterArguments(); var context = new TemplateContext(); var result = StringFilters.Downcase(input, arguments, context); Assert.Equal("hello world", result.ToStringValue()); }
public void TestDowncase(string expected, object input) { Assert.Equal(expected, StringFilters.Downcase(FluidValue.Create(input), FilterArguments.Empty, new TemplateContext()).ToObjectValue()); }