code: def test_1d_ok():
      """Testing Gaussian Filter for 1D array.
      With any array consisting of positive integers and only one zero - it
      should filter all values to be greater than 0.1
      """
      nums = np.arange(7)
      filtered = gaussian(nums, preserve_range=True)
      assert np.all(filtered > 0.1)
  
file_path: scikit-image/skimage/filters/tests/test_gaussian.py
imports: import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from skimage._shared.utils import _supported_float_type
  from skimage.filters import difference_of_gaussians, gaussian
label_desc: Use image node_id 8 for calling a global function with example usage: test_1d_ok() without return types