Ejemplo 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);
        }
Ejemplo n.º 2
0
        public new void ToString()
        {
            TestPart p = new TestPart(null);

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

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