code: def test_stadia_maps_tiles_api_url(style, extension, resolution):
      apikey = "foo"
      tile = [0, 1, 2]
      exp_url = (
          "http://tiles.stadiamaps.com/tiles/"
          f"{style}/2/0/1{resolution}.{extension}"
          "?api_key=foo"
      )
  
      sample = cimgt.StadiaMapsTiles(
          apikey, style=style, resolution=resolution
      )
      url_str = sample._image_url(tile)
      assert url_str == exp_url
  
imports: import hashlib
  import os
  import types
  import warnings
  import numpy
  from numpy.testing import assert_array_almost_equal
  import pytest
  import shapely.geometry
  from cartopy import config
  import cartopy.crs
  import cartopy.io.img_tiles
label_desc: Use image node_id 10 for calling a global function with example usage: test_stadia_maps_tiles_api_url(style, extension, resolution) without return types