Пример #1
0
            public void WhenTextIsValid_ThenReturnHeader()
            {
                var result = Md.Header4("My Header");

                Assert.That(result, Is.EqualTo("#### My Header" + Environment.NewLine));
            }
Пример #2
0
            public void WhenIsNullOrEmpty_ThenReturnEmpty(string text)
            {
                var result = Md.Header4(text);

                Assert.That(result, Is.Empty);
            }