public void TestColorSequence()
        {
            double SATURATION = 1.0;
            double LUMINOSITY = 0.5;

            var angles = new AngleGenerator(0, 360);

            ColorAssert(
                RGBtoColor(new RGB(0, 255, 255)),
                HSLtoColor(new HSL(angles.NextAngle(), SATURATION, LUMINOSITY)),
                1.0
                );
            ColorAssert(
                RGBtoColor(new RGB(128, 255, 0)),
                HSLtoColor(new HSL(angles.NextAngle(), SATURATION, LUMINOSITY)),
                1.0
                );
            ColorAssert(
                RGBtoColor(new RGB(128, 0, 255)),
                HSLtoColor(new HSL(angles.NextAngle(), SATURATION, LUMINOSITY)),
                1.0
                );
            ColorAssert(
                RGBtoColor(new RGB(255, 191, 0)),
                HSLtoColor(new HSL(angles.NextAngle(), SATURATION, LUMINOSITY)),
                1.0
                );
        }
        public void TestAngleGeneratorSequence()
        {
            var angles = new AngleGenerator(0, 360);

            Assert.AreEqual(180, angles.NextAngle());
            Assert.AreEqual(90, angles.NextAngle());
            Assert.AreEqual(270, angles.NextAngle());
            Assert.AreEqual(45, angles.NextAngle());
            Assert.AreEqual(225, angles.NextAngle());
            Assert.AreEqual(135, angles.NextAngle());
            Assert.AreEqual(315, angles.NextAngle());
            Assert.AreEqual(22.5, angles.NextAngle());
            Assert.AreEqual(202.5, angles.NextAngle());
            Assert.AreEqual(112.5, angles.NextAngle());
            Assert.AreEqual(292.5, angles.NextAngle());
            Assert.AreEqual(67.5, angles.NextAngle());
        }
        public void TestAngleGenerator()
        {
            var angles = new AngleGenerator(0, 360);

            Assert.AreEqual(180, angles.NextAngle());
        }