code: def test_uniform_noise(
      data: np.ndarray, params: dict, expected: Union[float, dict, bool]
  ):
      out = uniform_noise(arr=data, **params)
      assert any(out.flatten()[0] != out.flatten()), "Test failed."
      assert (
          any(out.flatten() != data.flatten()) == expected
      ), "Test failed."
  
imports: import pytest
  from pytest_lazyfixture import lazy_fixture
  from quantus.helpers import utils
  from quantus.functions.perturb_func import *
label_desc: Use image node_id 16 for calling a global function with example usage: test_uniform_noise(data, params, expected) without return types