code: def test_make_channel_last(
      data: np.ndarray, params: dict, expected: Union[float, dict, bool]
  ):
      out = make_channel_last(data["x"], params["channel_first"])
      assert np.array_equal(out, expected), "Test failed."
  
imports: import pytest
  from pytest_lazyfixture import lazy_fixture
  from quantus.helpers.utils import *
label_desc: Use image node_id 30 for calling a global function with example usage: test_make_channel_last(data, params, expected) without return types