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