public void TestSimpleGroup()
{
string templates =
"t() ::= <<foo>>" + Environment.NewLine;
writeFile(tmpdir, "t.stg", templates);
TemplateGroup group = new TemplateGroupFile(Path.Combine(tmpdir, "t.stg"));
string expected =
"t() ::= <<" + Environment.NewLine +
"foo" + Environment.NewLine +
">>" + Environment.NewLine;
string result = group.Show();
Assert.AreEqual(expected, result);
}