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

TestNotFalseCond() private method

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