code: def test_search1():
      # Test that the search region works.
      # XXX - we are not testing anything
      search = rft.IntrinsicVolumes([3, 4, 5])
      x = np.linspace(0.1, 10, 100)
      stats = [rft.Gaussian()]
      for dfn in range(5, 10):
          for dfd in [40, 50, np.inf]:
              stats.append(rft.FStat(dfn=dfn, dfd=dfd))
              stats.append(rft.TStat(dfd=dfd))
          stats.append(rft.ChiSquared(dfn=dfn))
      for dim in range(7):
          for stat in stats:
              # XXX - v1 appears to be unused
              v1 = stat(x, search=search)
              v2 = 0
              for i in range(search.mu.shape[0]):
                  v2 += stat.density(x, i) * search.mu[i]
  
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 14 for calling a global function with example usage: test_search1() without return types