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