code: def test_resize_to_twice_the_size(self):
      heatmaps_arr = np.float32([[0.0, 1.0]])
      heatmaps = ia.HeatmapsOnImage(heatmaps_arr, shape=(4, 4, 3))
  
      heatmaps_scaled = heatmaps.resize(2.0, interpolation="nearest")
      assert heatmaps_scaled.arr_0to1.shape == (2, 4, 1)
      assert heatmaps_scaled.arr_0to1.dtype.name == "float32"
      assert np.allclose(
          heatmaps_scaled.arr_0to1[:, :, 0],
          np.float32([[0.0, 0.0, 1.0, 1.0], [0.0, 0.0, 1.0, 1.0]]),
      )
  
imports: from __future__ import print_function, division, absolute_import
  import sys
  import numpy
  import six.moves
  import imgaug
label_desc: Use image node_id 2 for calling the TestHeatmapsOnImage_resize obj's underlying member method code with example usage: obj.test_resize_to_twice_the_size() without return types