Exemple #1
0
        public void Convert_ExampleA_Default()
        {
            // act
            var resultHtml = SemanticReleaseNotesConverter.Convert(ExampleA);

            // assert
            Assert.Equal(ExampleAHtml, resultHtml.Trim());
        }
Exemple #2
0
        public void Convert_TextWriter_ExampleA_Default()
        {
            // arrange
            var resultHtml = new StringBuilder();

            // act
            SemanticReleaseNotesConverter.Convert(GetTextReader(ExampleA), new StringWriter(resultHtml));

            // assert
            Assert.Equal(ExampleAHtml, resultHtml.ToString().Trim());
        }