Exemplo n.º 1
0
        private static void RunTest(ulong t1, Quaternion rot1, ulong t2, Quaternion rot2, ulong t3,
                                    Quaternion expectation)
        {
            var predictedQuaternion = new PredictedQuaternion();

            predictedQuaternion.ReceiveValue(t1, rot1);
            predictedQuaternion.ReceiveValue(t2, rot2);
            Assert.AreEqual(0, Quaternion.Angle(expectation, predictedQuaternion.Get(t3)));
        }