Beispiel #1
0
            public void ToHSVWithBlackReturnsCorrectValues()
            {
                var accent = new Color.HSL(0, 0, 0);
                var hsv    = accent.ToHSV();

                Assert.AreEqual(new Color.HSV(0, 0, 0), hsv);
            }
Beispiel #2
0
            public void ToHSVWithAccentReturnsCorrectValues()
            {
                var accent = new Color.HSL(36.6, 0.928, 0.488);
                var hsv    = accent.ToHSV();

                Assert.AreEqual(new Color.HSV(36.6, 0.963, 0.941), hsv);
            }