code: def test_4d_linear_outofbounds(self):
      # create a 4-D grid of 3 points in each dimension
      points, values = self._sample_4d_data()
      sample = cp.asarray([[0.1, -0.1, 10.1, 9.0]])
      wanted = 999.99
      actual = interpn(
          points,
          values,
          sample,
          method="linear",
          bounds_error=False,
          fill_value=999.99,
      )
      assert_array_almost_equal(actual, wanted)
  
imports: import pytest
  import cupy
  from cupy.testing import assert_allclose, assert_array_equal, assert_array_almost_equal
  from cupy_backends.cuda.api import runtime
  from pytest import raises
  from cupyx.scipy.interpolate import RegularGridInterpolator, interpn
label_desc: Use image node_id 4 for calling the TestInterpN obj's underlying member method code with example usage: obj.test_4d_linear_outofbounds() without return types