code: def check_array_type_preserved(self, constructor, array_type, check):
      lons, lats = np.meshgrid(
          np.linspace(-180, 180, 100), np.linspace(-85, 85, 100)
      )
      lons = lons.flatten()
      lats = lats.flatten()
  
      array_lons = constructor(lons)
      array_lats = constructor(lats)
  
      self.assertIsInstance(array_lons, array_type)
      self.assertIsInstance(array_lats, array_type)
  
      eastings, northings = Tiles.lon_lat_to_easting_northing(
          array_lons, array_lats
      )
      self.assertIsInstance(eastings, array_type)
      self.assertIsInstance(northings, array_type)
  
      new_lons, new_lats = Tiles.easting_northing_to_lon_lat(
          eastings, northings
      )
      self.assertIsInstance(new_lons, array_type)
      self.assertIsInstance(new_lats, array_type)
  
      check(array_lons, new_lons)
      check(array_lats, new_lats)
  
file_path: holoviews/holoviews/tests/element/test_tiles.py
imports: import numpy
  import pandas
  from holoviews import Tiles
  from holoviews.element.comparison import ComparisonTestCase
label_desc: Use image node_id 5 for calling the TestCoordinateConversion obj's underlying member method code with example usage: obj.check_array_type_preserved(constructor, array_type, check) without return types