public bool Equals(XmlRepeatLoopEndBrick b) { return this.Equals((XmlBrick)b); }
public void XmlRepeatLoopEndBrickTest() { TextReader sr = new StringReader("<brick type=\"LoopEndBrick\"/>"); var xRoot = XElement.Load(sr); var testObject = new XmlRepeatLoopEndBrick(xRoot); var referenceObject = new XmlRepeatLoopEndBrick(); Assert.AreEqual(referenceObject, testObject); }