예제 #1
0
        public void GetHelloWorldLightTest()
        {
            IGetText gt   = new GetWebText();
            string   text = gt.GetHelloWorldLight();

            Assert.AreEqual(text, "<i>(hello world)</i>");
        }
예제 #2
0
        public void GetHelloWorldPlainTest()
        {
            IGetText gt   = new GetWebText();
            string   text = gt.GetHelloWorldPlain();

            Assert.AreEqual(text, "<span>Hello World</span>");
        }
예제 #3
0
        public void GetHelloWorldBoldTest()
        {
            IGetText gt   = new GetWebText();
            string   text = gt.GetHelloWorldBold();

            Assert.AreEqual(text, "<h1>Hello World!!</h1>");
        }