public void TestTrueCondWithElse() { string template = "<if(name)>works<else>fail<endif>"; Template st = new Template(template); st.Add("name", "Ter"); string expected = "works"; string result = st.Render(); Assert.AreEqual(expected, result); }