Antlr4.Test.StringTemplate.TestCoreBasics.TestElseIfAllExprFalse C# (CSharp) 메소드

TestElseIfAllExprFalse() 개인적인 메소드

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