コード例 #1
0
        public void A_Stylist_Can_Style_A_Result()
        {
            var style = new Stylist();

            Assert.AreEqual("![Passed](pass.png)", style.AsResult(TestResult.Passed));
            Assert.AreEqual("![Failed](fail.png)", style.AsResult(TestResult.Failed));
            Assert.AreEqual("![Inconclusive](inconclusive.png)", style.AsResult(TestResult.Inconclusive));
        }