public void GetParagraphs_on_text_with_2_enters_and_spaces_should_give_2_paragraphs()
        {
            string data = "A\r\n    \r\nB";
            var processor = new MarkdownProcessor(new HtmlFormatter());

            var result = processor.GetParagraphs(data);

            Assert.AreEqual(result.Length, 2);
        }
        public void GetParagraphs_on_text_with_one_enter_should_give_one_paragraph()
        {
            string data = "A\r\n B";
            var processor = new MarkdownProcessor(new HtmlFormatter());

            var result = processor.GetParagraphs(data);

            Assert.AreEqual(1, result.Length);
        }
        public void GetParagraphs_on_string_with_4_enters_and_text_should_give_2_paragraphs()
        {
            string data = "Paragraph1\r\n \r\n \r\n \r\nParagraph2";
            var processor = new MarkdownProcessor(new HtmlFormatter());
            var expectedResult = new List<string>() { "Paragraph1", "Paragraph2" };

            var result = processor.GetParagraphs(data);
            CollectionAssert.AreEqual(expectedResult, result);
        }
        public void GetParagraps_on_text_with_2_enters_and_spaces_should_give_right_text()
        {
            string data = "A\r\n    \r\nB";
            var processor = new MarkdownProcessor(new HtmlFormatter());

            var result = processor.GetParagraphs(data);

            Assert.AreEqual(result[0], "A");
            Assert.AreEqual(result[1], "B");
        }