public void ShouldBeAbleToCompileSourceWithDustScript() { string source = "Hello {Name}"; string compiled = DustScript.Compile(source, "test"); OutLine(compiled); }
public void ShouldBeAbleToRenderWithDustScript() { string source = "Hello {Name}"; string compiled = DustScript.Compile(source, "test"); string output = DustScript.Render(compiled, "test", new { Name = "Bananas" }); OutLine(output); }