code: def test_geodesic_fwd_inv_inplace():
      gg = Geod(ellps="clrk66")
      _BOSTON_LON = numpy.array([0], dtype=numpy.float64)
      _BOSTON_LAT = numpy.array([0], dtype=numpy.float64)
      _PORTLAND_LON = numpy.array([1], dtype=numpy.float64)
      _PORTLAND_LAT = numpy.array([1], dtype=numpy.float64)
  
      az12, az21, dist = gg.inv(
          _BOSTON_LON,
          _BOSTON_LAT,
          _PORTLAND_LON,
          _PORTLAND_LAT,
          inplace=True,
      )
      assert az12 is _BOSTON_LON
      assert az21 is _BOSTON_LAT
      assert dist is _PORTLAND_LON
  
      endlon, endlat, backaz = gg.fwd(
          _BOSTON_LON, _BOSTON_LAT, az12, dist, inplace=True
      )
      assert endlon is _BOSTON_LON
      assert endlat is _BOSTON_LAT
      assert backaz is az12
  
imports: import math
  import pickle
  from contextlib import nullcontext
  from itertools import permutations
  import numpy
  import pytest
  from numpy.testing import assert_almost_equal, assert_array_equal
  from pyproj import Geod
  from pyproj.geod import GeodIntermediateFlag, reverse_azimuth
label_desc: Use image node_id 44 for calling a global function with example usage: test_geodesic_fwd_inv_inplace() without return types