public void TestEqualsAndClone() { Sketch.Sketch sketch1 = newValidSketch(); sketch1.CheckConsistency(); Sketch.Sketch sketch2 = sketch1.Clone(); sketch1.CheckConsistency(); sketch2.CheckConsistency(); Assert.IsTrue(sketch1.Equals(sketch2), "Original sketch reports it is not equal to the clone"); Assert.IsTrue(sketch2.Equals(sketch1), "Cloned sketch reports it is not equal to the original"); Assert.IsFalse(sketch1 == sketch2, "Cloned sketch is strictly equal to original"); }