code: def test_rsh():
      np.random.seed(132345)
      x = np.random.randn(100)
      res = ms.rsh(x)
      # Just a sanity check that the code runs and output shape is correct.
      # TODO: check that implementation is correct.
      assert_(res.shape == x.shape)
  
      # Check points keyword
      res = ms.rsh(x, points=[0, 1.0])
      assert_(res.size == 2)
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/tests/test_mstats_extras.py
imports: import numpy
  import numpy.ma
  import scipy.stats.mstats
  from numpy.testing import assert_equal, assert_almost_equal, assert_, assert_allclose
label_desc: Use image node_id 3 for calling a global function with example usage: test_rsh() without return types