Exemple #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);
        }
Exemple #2
0
 public void tidyHtml_String()
 {
     Assert.AreEqual(MessyHtml.tidyHtml(), ExpectedResult);
 }