Esempio n. 1
0
        public void TSF_Text()
        {
            var tsf = new TextSpanFormatter();

            tsf.Write("hello");
            Assert.AreEqual("hello" + nl, Flatten(tsf));
        }
Esempio n. 2
0
        public void TSF_Link()
        {
            var tsf = new TextSpanFormatter();

            tsf.Write("go to ");
            tsf.WriteHyperlink("Hell", "Aitch-ee-double-hockeysticks");
            Assert.AreEqual("go to _Hell_" + nl, Flatten(tsf));
        }