public void RemoveLayer() { var layer = new Layer(_image, "test", ImageType.Rgb); _image.InsertLayer(layer, 0); Assert.AreEqual(1, _image.Layers.Count); _image.RemoveLayer(layer); Assert.AreEqual(0, _image.Layers.Count); }
public void RemoveLayer() { var layer = new Layer(_image, "test", ImageType.Rgb); _image.InsertLayer(layer, 0); Assert.AreEqual(1, _image.Layers.Count); _image.RemoveLayer(layer); Assert.AreEqual(0, _image.Layers.Count); }