Ejemplo n.º 1
0
        public void should_get_world_position_with_xy()
        {
            GridScript gridScript = new GridScript(10, 4, 4);

            var worldPosition = gridScript.GetWorldPosition(2, 3);

            var expectedWorldPosition = new Vector3(20, 30);

            Assert.AreEqual(worldPosition, expectedWorldPosition);
        }