code: def test_chebval2d(self):
      x1, x2, x3 = self.x
      y1, y2, y3 = self.y
  
      # test exceptions
      assert_raises(ValueError, cheb.chebval2d, x1, x2[:2], self.c2d)
  
      # test values
      tgt = y1 * y2
      res = cheb.chebval2d(x1, x2, self.c2d)
      assert_almost_equal(res, tgt)
  
      # test shape
      z = np.ones((2, 3))
      res = cheb.chebval2d(z, z, self.c2d)
      assert_(res.shape == (2, 3))
  
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 TestEvaluation obj's underlying member method code with example usage: obj.test_chebval2d() without return types