public void MultilineComment() { CommentWriter writer = new CommentWriter(); writer.Write(new CommentTemplate("first line\r\nsecond line\r\nthird line"), this.output); Assert.AreEqual("// first line\r\n// second line\r\n// third line", this.output.ToString()); }
public void CommentWriter() { CommentWriter writer = new CommentWriter(); writer.Write(new CommentTemplate("first line"), this.output); Assert.AreEqual("// first line", this.output.ToString()); }