Пример #1
0
        public void CmykToHsl()
        {
            var result = ColorConverter.CmykToHsl(new CMYK(10, 10, 10, 10));

            Assert.AreEqual(new HSL(0, 0, 81), result);
        }
Пример #2
0
 public static bool Equals(HSL source, CMYK target)
 {
     return(source.Equals(ColorConverter.CmykToHsl(target)));
 }