public void GetValues_ReturnsAllPixels() { using (IMagickImage image = new MagickImage(MagickColors.Purple, 4, 2)) { using (IPixelCollection pixels = image.GetPixels()) { var values = pixels.GetValues(); int length = 4 * 2 * 3; Assert.AreEqual(length, values.Length); } } }