Esempio n. 1
0
            public void WhenTextIsValid_ThenReturnHeader()
            {
                var result = Md.Header1("My Header");

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

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