Beispiel #1
0
		public void TestHSLSetToDefaultValue ()
		{
			var color = new Color (0.2, 0.5, 0.8);

			// saturation is initialized to 0, make sure we still update
			color = color.WithSaturation (0);

			Assert.AreEqual (color.R, color.G);
			Assert.AreEqual (color.R, color.B);
		}