Esempio n. 1
0
        public void Add()
        {
            var vector = new Vector <string>();
            var system = new S.List <string>();

            foreach (var i in Globals.Strings)
            {
                vector.Add(i);
                system.Add(i);

                Comparer <string> .Compare(vector, system);
            }

            Comparer <string> .Compare(vector, system);
        }
Esempio n. 2
0
        public void Add()
        {
            var list   = new List <int>();
            var system = new S.List <int>();

            foreach (var i in Globals.Ints)
            {
                list.Add(i);
                system.Add(i);

                Comparer <int> .Compare(list, system);
            }

            Assert.IsTrue(list.Count == system.Count && list.Count == Globals.Ints.Length);
            Comparer <int> .Compare(list, system);
        }