Esempio n. 1
0
        public void ConstructFromUnsupportedNative()
        {
            SpiffHeaderNative native = new() {
                Height     = uint.MaxValue,
                ColorSpace = SpiffColorSpace.Rgb
            };

            bool result = SpiffHeader.TryCreate(native, out var header);

            Assert.IsFalse(result);
            Assert.IsNull(header);
        }