public void ToHSV() { for (int i = 0; i < 10; i++) { ColorHSV hsv = Random(i); ColorRGB rgb = hsv.rgb; ColorHSV col = rgb.hsv; Assert.IsTrue(hsv.EqualsWithError(col, 1e-6f)); } }