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

TestStaticProperty() 개인적인 메소드

private TestStaticProperty ( ) : void
리턴 void
        public void TestStaticProperty()
        {
            string template = "<t.StaticProperty>";
            Template st = new Template(template);
            st.Add("t", new User(32, "Ter"));
            string expected = "property_result";
            string result = st.Render();
            Assert.AreEqual(expected, result);
        }
TestCoreBasics