public bool Equals(InheritedSimpleTest other) { return ( base.Equals((SimpleTest)other) && childObj == other.childObj ); }
public void Inheritance_SimpleObjectTest() { InheritedSimpleTest cont = new InheritedSimpleTest(); cont.Setup(); MyTestSerializeRun(cont); InheritedSimpleTest result = MyTestDeserializeRun<InheritedSimpleTest>(); Assert.AreEqual(cont, result); }