public override bool Equals(System.Object obj)
        {
            XmlIfOnEdgeBounceBrick b = obj as XmlIfOnEdgeBounceBrick;

            if ((object)b == null)
            {
                return(false);
            }

            return(this.Equals(b));
        }
        public void XmlIfOnEdgeBounceBrickTest()
        {
            TextReader sr = new StringReader("<brick type=\"IfOnEdgeBounceBrick\"/>");
            var xRoot = XElement.Load(sr);

            var testObject = new XmlIfOnEdgeBounceBrick(xRoot);

            var referenceObject = new XmlIfOnEdgeBounceBrick(xRoot);

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