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