Antlr4.Test.StringTemplate.TestCoreBasics.TestNotTrueCond C# (CSharp) Method

TestNotTrueCond() private method

private TestNotTrueCond ( ) : void
return void
        public void TestNotTrueCond()
        {
            string template = "<if(!name)>works<endif>";
            Template st = new Template(template);
            st.Add("name", "Ter");
            string expected = "";
            string result = st.Render();
            Assert.AreEqual(expected, result);
        }
TestCoreBasics