public void WhenTextIsValid_ThenReturnHeader() { var result = Md.Header2("My Header"); Assert.That(result, Is.EqualTo("## My Header" + Environment.NewLine)); }
public void WhenIsNullOrEmpty_ThenReturnEmpty(string text) { var result = Md.Header2(text); Assert.That(result, Is.Empty); }