Esempio n. 1
0
        public void A_Stylist_Can_Style_An_Example_Heading_Without_A_Name()
        {
            var expectedStyle = "> Examples:";
            var style         = new Stylist();

            var actualStyle = style.AsExampleHeading(string.Empty);

            Assert.AreEqual(expectedStyle, actualStyle);
        }
Esempio n. 2
0
        public void A_Stylist_Can_Style_An_Example_Heading()
        {
            var expectedStyle = "> Examples: My Styled Example";
            var style         = new Stylist();

            var actualStyle = style.AsExampleHeading("My Styled Example");

            Assert.AreEqual(expectedStyle, actualStyle);
        }