public void GenerateFile_Markdown_OutputsHtml() { var output = generator.GenerateFile(".", new FileLocation("directory/index.md"), "Hello", Array.Empty <string>(), new Dictionary <string, IBuffer <ImmutableDictionary <string, object> > >().ToImmutableDictionary() ); Assert.AreEqual(@"directory/index.html", output.Name.FullyQualifiedName); AssertHelper.AreEqualIgnoringNewLines("<p>Hello</p>\r\n", output.Output); }
private FileInfo GenerateFile() { var generator = new FileGenerator(_maxChunkSize); return(generator.GenerateFile(_chunksCount)); }