Esempio n. 1
0
        public void EmptyCloneIsEmpty()
        {
            var l  = new PtrLenList();
            var l2 = l.Clone();

            Assert.IsTrue(l2.Empty);
        }
Esempio n. 2
0
 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));
 }
Esempio n. 3
0
        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));
        }
Esempio n. 4
0
 public void EmptyCloneIsEmpty()
 {
     var l = new PtrLenList();
     var l2 = l.Clone();
     Assert.IsTrue(l2.Empty);
 }