public void TestClone () { HatchBrush hbr = new HatchBrush(HatchStyle.Cross, fgColor, bgColor); HatchBrush clone = (HatchBrush) hbr.Clone (); Assert.AreEqual (hbr.HatchStyle, clone.HatchStyle, "Clone#1"); Assert.AreEqual (hbr.ForegroundColor, clone.ForegroundColor, "Clone#2"); Assert.AreEqual (hbr.BackgroundColor, clone.BackgroundColor, "Clone#3"); }