Exemple #1
0
        public void IsNotEditable()
        {
            var brushes = new BrushList("Pepper");

            Assert.AreEqual(1, brushes.Count);
            brushes.ForEach(brush => Assert.IsFalse(brush.Editable));
        }
Exemple #2
0
        // [Test]
        public void ForEach()
        {
            var brushes = new BrushList(null);
            int count   = 0;

            brushes.ForEach(brush => count++);
            Assert.AreEqual(brushes.Count, count);
        }