Esempio n. 1
0
            public void WhenTextIsValid_ThenReturnMarkdown()
            {
                var result = Md.Code("int x = 1;");

                Assert.That(result, Is.EqualTo("`int x = 1;`"));
            }
Esempio n. 2
0
            public void WhenIsNullOrEmpty_ThenReturnEmpty(string text)
            {
                var result = Md.Code(text);

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