示例#1
0
        public void ShouldReadsRGB()
        {
            string filePath = @"../../../Data/Plan.png";
            sRGB   srgb     = new sRGB(PNGFile.Read(filePath)[1]);

            Assert.AreEqual("sRGB", srgb.Type);
        }
示例#2
0
        public void ShouldContainCorrectData()
        {
            string filePath = @"../../../Data/Plan.png";
            sRGB   srgb     = new sRGB(PNGFile.Read(filePath)[1]);

            Assert.AreEqual(0, srgb.RenderingIntent);
        }