code: def test_geod_scalar_array(func_name, radians):
      # verify two singlepoint calculations match an array of length two
      g = Geod(ellps="clrk66")
      func = getattr(g, func_name)
      assert_almost_equal(
          numpy.transpose(
              [func(0, 0, 1, 1, radians=radians) for i in range(2)]
          ),
          func([0, 0], [0, 0], [1, 1], [1, 1], radians=radians),
      )
  
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 42 for calling a global function with example usage: test_geod_scalar_array(func_name, radians) without return types