public override IWBNode Clone() { var cl = (RmNode)base.Clone(); cl.s = s.Clone(); cl.f = f.Clone(); return(cl); }
public void WBVecCopyTest1() { WBVec a = new WBVec(1, 2, 3, 4, 5); var b = a.Clone(); b[1] = 999; Assert.AreNotEqual(a[1], b[1]); }
public override IWBNode Clone() { var cl = (OvCell)base.Clone(); cl.vect_q = vect_q.Clone(); cl.vect_f = vect_f.Clone(); cl.vect_h = vect_h.Clone(); return(cl); }