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

TestOr() private method

private TestOr ( ) : void
return void
        public void TestOr()
        {
            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);
        }
TestCoreBasics