code: def test_cast(self):
      # regression test for integer input data, see gh-3453
      data = np.array(
          [
              [0, 4, 12, 27, 47, 60, 79, 87, 99, 100],
              [-33, -33, -19, -2, 12, 26, 38, 45, 53, 55],
          ]
      )
      xx = np.arange(100)
      curve = pchip(data[0], data[1])(xx)
  
      data1 = data * 1.0
      curve1 = pchip(data1[0], data1[1])(xx)
  
      assert_allclose(curve, curve1, atol=1e-14, rtol=1e-14)
  
imports: import warnings
  import io
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal, assert_array_almost_equal, assert_allclose, assert_equal, assert_
  from pytest import raises
  from scipy.interpolate import KroghInterpolator, krogh_interpolate, BarycentricInterpolator, barycentric_interpolate, approximate_taylor_polynomial, CubicHermiteSpline, pchip, PchipInterpolator, pchip_interpolate, Akima1DInterpolator, CubicSpline, make_interp_spline
label_desc: Use image node_id 4 for calling the TestPCHIP obj's underlying member method code with example usage: obj.test_cast() without return types