Antlr4.Test.StringTemplate.TestCoreBasics.TestPropWithNoAttr C# (CSharp) Метод

TestPropWithNoAttr() приватный Метод

private TestPropWithNoAttr ( ) : void
Результат void
        public void TestPropWithNoAttr()
        {
            string template = "<foo.a>: <ick>";
            Template st = new Template(template);
            st.Add("foo", new Dictionary<string, string>() { { "a", "b" } });
            string expected = "b: ";
            string result = st.Render();
            Assert.AreEqual(expected, result);
        }
TestCoreBasics