예제 #1
0
        public void tidyHtml_HtmlDocument()
        {
            var htmlDocument = MessyHtml.htmlDocument();

            Assert.NotNull(htmlDocument);
            Assert.NotNull(htmlDocument.tidyHtml(), ExpectedResult);

            Assert.IsNull((null as HtmlAgilityPack.HtmlDocument).tidyHtml(), ExpectedResult);
        }
예제 #2
0
 public void tidyHtml_String()
 {
     Assert.AreEqual(MessyHtml.tidyHtml(), ExpectedResult);
 }