Пример #1
0
    public static void CompareEqualAllTest()
    {
        Assert.That(() => Quaternion.CompareEqualAll(Quaternion.Create(0.0f, 1.0f, 2.0f, 3.0f), Quaternion.Create(0.0f, 1.0f, 2.0f, 3.0f)),
                    Is.True
                    );

        Assert.That(() => Quaternion.CompareEqualAll(Quaternion.Create(0.0f, 1.0f, 2.0f, 3.0f), Quaternion.Create(4.0f, 5.0f, 6.0f, 7.0f)),
                    Is.False
                    );
    }