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