Ejemplo n.º 1
0
        public void SetAttributeTest1()
        {
            string attribSeperator = "'t1'";
            string attributeName   = "'font-size'";
            string attributeValue  = "'50'";

            target.SetAttribute(attributeName, attribSeperator, attributeValue);

            string expected = "t1";

            Assert.AreEqual(expected, target.AttributeSeperator);

            expected = "font-size";
            Assert.AreEqual(expected, target.Name);

            expected = "50";
            Assert.AreEqual(expected, target.AttributeValue);
        }