Example #1
0
        public void AddRangeNullTest()
        {
            Ifd target = new Ifd();
            IEnumerable <Field> items = null;

            Assert.Throws <ArgumentNullException>(() => target.AddRange(items));
        }
Example #2
0
        public void AddRangeTest()
        {
            Ifd target = new Ifd();
            IEnumerable <Field> items = new List <Field> {
                new Field(), new Field(), new Field()
            };

            target.AddRange(items);
        }