public void Clone() { CurveKeyCollection col = c.Clone(); Assert.AreNotSame(c, col, "#1"); Assert.AreEqual(c.Count, col.Count, "#2"); Assert.AreNotEqual(c, col, "#3"); }
public Curve Clone() { Curve curve = new Curve(); curve.keys = keys.Clone(); curve.preLoop = preLoop; curve.postLoop = postLoop; return(curve); }