Beispiel #1
0
        public void Defaults()
        {
            var options = new CIImageInitializationOptions();

            Assert.That(options.Dictionary.Count, Is.EqualTo(0), "Count");
            Assert.Null(options.ColorSpace, "ColorSpace");
        }
Beispiel #2
0
        public void ColorSpace()
        {
            var options = new CIImageInitializationOptions()
            {
                ColorSpace = CGColorSpace.CreateDeviceRGB()
            };

            Assert.That(options.Dictionary.Count, Is.EqualTo(1), "Count");
            Assert.NotNull(options.ColorSpace, "ColorSpace");
        }