Пример #1
0
        public void Enumerate()
        {
            var test = new NodeList<NodeInt>(() => NodeInt.GetValues(5));
            test.Insert_001();

            int index = 0;
            int[] indexes = { 0, 0, 1 };
            foreach (var item in test.List)
            {
                Assert.AreEqual<NodeInt>(test.Values[indexes[index++]], item);
            }
        }
Пример #2
0
 public void Remove()
 {
     var test = new NodeList<NodeInt>(() => NodeInt.GetValues(5));
     test.Insert_001();
     test.Remove_001();
 }