public void RGB_gets_converted_to_CMYK() { RGB rgb = new RGB() { Red = 255, Green = 66, Blue = 100, }; var result = rgb.ConvertToCMYK(); Assert.AreEqual(0, result.Cyan); Assert.AreEqual(0, result.Black); Assert.AreEqual(0.741, Math.Round(result.Magenta, 3)); Assert.AreEqual(0.608, Math.Round(result.Yellow, 3)); }