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

TestFalseCondWithElse() private method

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