Ejemplo n.º 1
0
        public void Addition()
        {
            QuaternionF a = new QuaternionF(1.0f, 2.0f, 3.0f, 4.0f);
            QuaternionF b = new QuaternionF(2.0f, 3.0f, 4.0f, 5.0f);
            QuaternionF c = QuaternionF.Add(a, b);

            Assert.AreEqual(new QuaternionF(3.0f, 5.0f, 7.0f, 9.0f), c);
        }