示例#1
0
 public void Test()
 {
     bool ok = false;
     var list = new InkGenericTask<int>();
     ok = list.Remove(34);
     ok = list.Add(32);
     ok = list.Remove(35);
     ok = list.Remove(32);
     ok = list.Add(3);
     ok = list.Add(4);
     var lista = list.GetAllItems();
 }
示例#2
0
        public void Test()
        {
            bool ok   = false;
            var  list = new InkGenericTask <int>();

            ok = list.Remove(34);
            ok = list.Add(32);
            ok = list.Remove(35);
            ok = list.Remove(32);
            ok = list.Add(3);
            ok = list.Add(4);
            var lista = list.GetAllItems();
        }
示例#3
0
        public void TestMethod1()
        {
            List<int> lista = new List<int>();

            var lista2 = new InkGenericTask<int>();

            Assert.IsFalse(lista2.Remove(3545));
            Assert.IsTrue(lista2.Add(345));
        }
示例#4
0
        public void TestMethod1()
        {
            List <int> lista = new List <int>();

            var lista2 = new InkGenericTask <int>();

            Assert.IsFalse(lista2.Remove(3545));
            Assert.IsTrue(lista2.Add(345));
        }