code: def test_cityblock():
      primitive_instance = CityblockDistance()
      latlong_1 = pd.Series([(i, i) for i in range(3)])
      latlong_2 = pd.Series([(i, i) for i in range(3, 6)])
      answer = pd.Series([414.56051391, 414.52893691, 414.43421555])
      given_answer = primitive_instance(latlong_1, latlong_2)
      np.testing.assert_allclose(given_answer, answer, rtol=1e-09)
  
      primitive_instance = CityblockDistance(unit="kilometers")
      answer = primitive_instance(latlong_1, latlong_2)
      given_answer = pd.Series(
          [667.1704814, 667.11966315, 666.96722389]
      )
      np.testing.assert_allclose(given_answer, answer, rtol=1e-09)
  
file_path: featuretools/featuretools/tests/primitive_tests/transform_primitive_tests/test_latlong_primitives.py
imports: import numpy
  import pandas
  import pytest
  from featuretools.primitives import CityblockDistance, GeoMidpoint, IsInGeoBox
label_desc: Use image node_id 1 for calling a global function with example usage: test_cityblock() without return types