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

TestAnd() private method

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