예제 #1
0
        public void TestPovCode2()
        {
            var c = new PovColor()
            {
                Red = 1, Green = 0, Blue = 0
            };

            Check.That(c.ToPovCode()).IsEqualTo("rgb < 1, 0, 0>");
        }
예제 #2
0
        public void TestPovCode4()
        {
            var c = new PovColor("Black");

            Check.That(c.ToPovCode()).IsEqualTo("rgb < 0, 0, 0>");
        }
예제 #3
0
        public void TestPovCode3()
        {
            var c = new PovColor(1, 1, 0);

            Check.That(c.ToPovCode()).IsEqualTo("rgb < 1, 1, 0>");
        }