code: def test_chebroots(self):
      assert_almost_equal(cheb.chebroots([1]), [])
      assert_almost_equal(cheb.chebroots([1, 2]), [-0.5])
      for i in range(2, 5):
          tgt = np.linspace(-1, 1, i)
          res = cheb.chebroots(cheb.chebfromroots(tgt))
          assert_almost_equal(trim(res), trim(tgt))
  
imports: from functools import reduce
  import numpy
  import numpy.polynomial.chebyshev
  from numpy.polynomial.polynomial import polyval
  from numpy.testing import assert_almost_equal, assert_raises, assert_equal, assert_
label_desc: Use image node_id 2 for calling the TestMisc obj's underlying member method code with example usage: obj.test_chebroots() without return types