Esempio n. 1
0
        public void Value()
        {
            TestPart p = new TestPart(null);

            Assert.IsNull(p.Value);
            p = new TestPart((s) => "hello '" + s + "'");
            Assert.AreEqual("hello", p.Value);
        }
Esempio n. 2
0
        public new void ToString()
        {
            TestPart p = new TestPart(null);

            Assert.AreEqual("{TESTPART}", p.ToString());
        }
Esempio n. 3
0
        public void Symbol()
        {
            TestPart p = new TestPart(null);

            Assert.AreEqual("{TESTPART}", p.Symbol);
        }