code: def test_samplingpath_cubereflect():
      x0 = np.array([0.1, 0.1])
      v0 = np.array([0.1, 0.01])
      L0 = 0.0
      path = SamplingPath(x0, v0, L0)
      path.add(-1, x0 - v0, v0, 1.0)
  
file_path: ultranest/tests/test_samplingpath.py
imports: import numpy
  import matplotlib.pyplot
  from ultranest.mlfriends import AffineLayer, MLFriends
  from ultranest.samplingpath import SamplingPath, ContourSamplingPath
  from ultranest.samplingpath import box_line_intersection, nearest_box_intersection_line, linear_steps_with_reflection, angle, get_sphere_tangents, norm
  from numpy.testing import assert_allclose
label_desc: Use image node_id 7 for calling a global function with example usage: test_samplingpath_cubereflect() without return types