Ejemplo n.º 1
0
 public void GetTriangleColorTest()
 {
     var target = new LED3D5thAngel();
     var c1     = target.GetTriangleColor(0, Math.PI * 0);
     var c2     = target.GetTriangleColor(0, Math.PI * 0.5);
     var c3     = target.GetTriangleColor(0, Math.PI * 1);
     var c4     = target.GetTriangleColor(0, Math.PI * 1.5);
     var c5     = target.GetTriangleColor(0, Math.PI * 2);
 }
Ejemplo n.º 2
0
        public void NormlizeTest_MultRadian()
        {
            var target = new LED3D5thAngel();

            Assert.AreEqual(Math.PI, target.Normlize(3 * Math.PI));
        }
Ejemplo n.º 3
0
        public void NormlizeTest_MinusRadian()
        {
            var target = new LED3D5thAngel();

            Assert.AreEqual(1.5 * Math.PI, target.Normlize(-Math.PI / 2));
        }