Example #1
0
        public void AddRange()
        {
            var list   = new List <int>();
            var system = new S.List <int>();

            list.AddRange(Globals.Ints);
            system.AddRange(Globals.Ints);

            Assert.IsTrue(list.Count == system.Count && list.Count == Globals.Ints.Length);
            Comparer <int> .Compare(list, system);
        }
Example #2
0
        public void AddRange()
        {
            var vector = new Vector <string> {
                "", null, "1"
            };
            var system = new S.List <string> {
                "", null, "1"
            };

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

            vector.AddRange(Globals.Strings);
            system.AddRange(Globals.Strings);

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