public void TestComment() { var actual = "Hello"; var expected = "Hello"; Approvals.AssertText(expected, actual); }
public void MakerHeaderBefore() { // begin-snippet: assert_text_before var header = new Header(); var actual = header.MakeHeading("I am ten chars"); var expected = ""; Approvals.AssertText(expected, actual); // end-snippet }
public void MakerHeadertest() { // begin-snippet: assert_text var header = new Header(); var actual = header.MakeHeading("I am ten chars"); var expected = new[] { "**************", "I am ten chars", "**************", }; Approvals.AssertText(expected, actual); // end-snippet }