public void AddNullTest()
 {
     var c = new ParticleModifierCollection
     { new TestModifierA(false, true), new TestModifierA(true, true), new TestModifierA(true, false) };
     var initial = c.ToArray();
     Assert.IsTrue(c.ContainSameElements(initial));
     ConsistencyAsserts(c);
     c.Add(null);
     Assert.IsTrue(c.ContainSameElements(initial));
     ConsistencyAsserts(c);
 }
        public void ToArrayTest()
        {
            var c = new ParticleModifierCollection
            {
                new TestModifierA(false, true), new TestModifierA(true, true), new TestModifierA(true, false)
            };

            var a = c.ToArray();

            Assert.IsTrue(c.ContainSameElements(a));
            Assert.AreEqual(c.Count, a.Length);
        }
        public void AddNullTest()
        {
            var c = new ParticleModifierCollection
            {
                new TestModifierA(false, true), new TestModifierA(true, true), new TestModifierA(true, false)
            };
            var initial = c.ToArray();

            Assert.IsTrue(c.ContainSameElements(initial));
            ConsistencyAsserts(c);
            c.Add(null);
            Assert.IsTrue(c.ContainSameElements(initial));
            ConsistencyAsserts(c);
        }
        public void ToArrayTest()
        {
            var c = new ParticleModifierCollection
            { new TestModifierA(false, true), new TestModifierA(true, true), new TestModifierA(true, false) };

            var a = c.ToArray();
            Assert.IsTrue(c.ContainSameElements(a));
            Assert.AreEqual(c.Count, a.Length);
        }