示例#1
0
        public void AsCss_SimpleTest()
        {
            var expected = new CssData();

            expected.AddAttribute("span.test", "text-decoration", "underline solid");

            var data = _instance.AsCss();

            Assert.AreEqual(expected, data);
        }
示例#2
0
        public void AsCss_SimpleTest()
        {
            var expected = new CssData();

            _instance.Element.Val = new EnumValue <UnderlineValues>(UnderlineValues.Single);
            expected.AddAttribute("span.test", "text-decoration", "underline solid");

            var data = _instance.AsCss();

            Assert.AreEqual(expected, data);
        }