コード例 #1
0
        public void TestNewPositionHasNoChangeOverDirection()
        {
            float   x        = 0f;
            float   z        = 0f;
            Vector3 position = new Vector3(3f, 4f, 5f);

            Vector3 newPosition = moveController.CalculatePosition(position, x, z);

            Assert.AreEqual(position, newPosition);
        }