public void TestEarlyEval2()
{
string templates = "main() ::= <<\n<f(p=\"x\")>*\n>>\n\n" +
"f(p,q={<({a<p>})>}) ::= <<\n-<q>-\n>>";
writeFile(tmpdir, "t.stg", templates);
TemplateGroup group = new TemplateGroupFile(Path.Combine(tmpdir, "t.stg"));
Template st = group.GetInstanceOf("main");
string s = st.Render();
Assert.AreEqual("-ax-*", s);
// When <f(...)> is invoked only once inspect throws no Exception in 4.0.2
st.Visualize();
}