public void GetImage() { var vectors = new Vectors(_image, "firstVector"); _image.AddVectors(vectors, -1); Assert.AreEqual(_image, vectors.Image); }
public void ToSelection() { var vectors = new Vectors(_image, "firstVector"); _image.AddVectors(vectors, -1); AddStroke(vectors); Assert.IsTrue(_image.Selection.Empty); vectors.ToSelection(ChannelOps.Replace, true); Assert.IsFalse(_image.Selection.Empty); }