public void TestMoveToNorthShouldIncreaseY() { GridPoint originalPosition = new GridPoint(0, 0); var newPosition = _target.MoveFrom(originalPosition, CompassDirection.NORTH); Assert.IsTrue(newPosition.X == originalPosition.X); Assert.IsTrue(newPosition.Y == originalPosition.Y + 1); }
public void MoveForward() { CurrentGridPosition = _arenaTerrainGrid.MoveFrom(CurrentGridPosition, CurrentCompassOrientation); }