code: def test_search():
      #  Test that the search region works.
      search = rft.IntrinsicVolumes([3, 4, 5])
      x = np.linspace(0.1, 10, 100)
      stat = rft.Gaussian(search=search)
      v1 = stat(x)
      v2 = (5 * x + 4 * np.sqrt(2 * np.pi)) * np.exp(
          -(x**2) / 2.0
      ) / np.power(2 * np.pi, 1.5) + 3 * scipy.stats.norm.sf(x)
      assert_almost_equal(v1, v2)
  
imports: import numpy
  import scipy.stats
  from scipy.special import gammaln, hermitenorm
  import pytest
  from numpy.testing import assert_almost_equal
  from ..None import rft
label_desc: Use image node_id 13 for calling a global function with example usage: test_search() without return types