public void CmykToHsl() { var result = ColorConverter.CmykToHsl(new CMYK(10, 10, 10, 10)); Assert.AreEqual(new HSL(0, 0, 81), result); }
public static bool Equals(HSL source, CMYK target) { return(source.Equals(ColorConverter.CmykToHsl(target))); }
public void CmykToHsl() { var result = ColorConverter.CmykToHsl(new CMYK(10, 10, 10, 10)); Assert.AreEqual(new HSL(0, 0, 81), result); }
public static bool Equals(HSL source, CMYK target) { return(source.Equals(ColorConverter.CmykToHsl(target))); }