Пример #1
0
        public void RemoveChannel()
        {
            int before  = _image.Channels.Count;
            var channel = new Channel(_image, "test", new RGB(0, 255, 0));

            _image.AddChannel(channel);
            _image.RemoveChannel(channel);
            Assert.AreEqual(before, _image.Channels.Count);
        }