Inheritance: XmlBrick, ISetXBrick
        public void XmlSetXBrickTest()
        {
            TextReader sr = new StringReader("<brick type=\"SetXBrick\"> <formulaList> <formula category=\"X_POSITION\"> <type>NUMBER</type> <value>384</value> </formula> </formulaList> </brick>");
            var xRoot = XElement.Load(sr);

            var testObject = new XmlSetXBrick(xRoot);

            var referenceObject = new XmlSetXBrick()
            {
                XPosition = new XmlFormula(xRoot, XmlConstants.XPosition),
            };

            Assert.AreEqual(referenceObject, testObject);
        }
 public bool Equals(XmlSetXBrick b)
 {
     return this.Equals((XmlBrick)b) && this.XPosition.Equals(b.XPosition);
 }