コード例 #1
0
    public void TestCalculateDelta()
    {
        var initialTwist = Twist.MakeFromAngle(0.2f);
        var finalTwist   = Twist.MakeFromAngle(0.8f);
        var deltaTwist   = Twist.CalculateDelta(initialTwist, finalTwist);

        MathAssert.AreEqual(Twist.MakeFromAngle(0.6f), deltaTwist, Acc);
    }