public void TestSeparatorInPrimitiveArray()
{
TemplateGroup group = new TemplateGroup();
group.DefineTemplate("test", "<names:{n | case <n>}; separator=\", \">", new string[] { "names" });
Template st = group.GetInstanceOf("test");
st.Add("names", new int[] { 0, 1 });
string expected =
"case 0, case 1";
string result = st.Render();
Assert.AreEqual(expected, result);
}