code: def test_ihaar():
      image = luispedro_jpg(1)
      image = image[:256, :256]
      wav = mahotas.haar(image)
      iwav = mahotas.ihaar(wav)
      assert np.allclose(image, iwav)
      iwav = mahotas.ihaar(wav, preserve_energy=False)
      assert not np.allclose(wav, iwav)
      iwav = mahotas.ihaar(wav, inline=True)
      assert id(iwav) == id(wav)
  
imports: import numpy
  import mahotas
  import mahotas.convolve
  import mahotas
  from mahotas.convolve import convolve1d, gaussian_filter
  import mahotas._filters
  from mahotas.tests.utils import luispedro_jpg
  import pytest
label_desc: Use image node_id 10 for calling a global function with example usage: test_ihaar() without return types