public void EmptyCloneIsEmpty() { var l = new PtrLenList(); var l2 = l.Clone(); Assert.IsTrue(l2.Empty); }
public void CloneIsEqual() { var l = new PtrLenList(); l.TryInclude(0, 1); l.TryInclude(10, 11); var l2 = l.Clone(); Assert.AreEqual("0-1;10-21", Str(l2)); Assert.AreEqual("0-1;10-21", Str(l)); }