public void TestLineBreaksAreHandled()
        {
            var paragraph = new Paragraph("I wandered lonely as a cloud\r\n" +
                                          "That floats on high o'er vales and hills,\r\n" +
                                          "When all at once I saw a crowd,\r\n" +
                                          "A host, of golden daffodils;\r\n" +
                                          "Beside the lake, beneath the trees,\r\n" +
                                          "Fluttering and dancing in the breeze.");


            paragraph.AssertOutputEquals(
                "I wandered lonely as a cloud  \r\n" +
                "That floats on high o'er vales and hills,  \r\n" +
                "When all at once I saw a crowd,  \r\n" +
                "A host, of golden daffodils;  \r\n" +
                "Beside the lake, beneath the trees,  \r\n" +
                "Fluttering and dancing in the breeze.\r\n"
                ,
                "<p>I wandered lonely as a cloud<br />\n" +
                "That floats on high o'er vales and hills,<br />\n" +
                "When all at once I saw a crowd,<br />\n" +
                "A host, of golden daffodils;<br />\n" +
                "Beside the lake, beneath the trees,<br />\n" +
                "Fluttering and dancing in the breeze.</p>\n");
        }
        public void TestDifferentTypesOfLineBreaksAreHandled()
        {
            var paragraph = new Paragraph("Unix style:\n" +
                                          "ZX Spectrum style:\r" +
                                          "Acorn BBC Spooled output:\n\r" +
                                          "Windows style:\r\n");

            paragraph.AssertOutputEquals(
                "Unix style:  \r\n" +
                "ZX Spectrum style:  \r\n" +
                "Acorn BBC Spooled output:  \r\n" +
                "Windows style:\r\n"
                ,
                "<p>Unix style:<br />\n" +
                "ZX Spectrum style:<br />\n" +
                "Acorn BBC Spooled output:<br />\n" +
                "Windows style:</p>\n");
        }