code: def test_basis_element_quadratic(self, xp, scp):
      xx = xp.linspace(-1, 4, 20)
      b = scp.interpolate.BSpline.basis_element(
          t=xp.asarray([0, 1, 2, 3])
      )
      r1 = b(xx)
  
      b = scp.interpolate.BSpline.basis_element(
          t=xp.asarray([0, 1, 1, 2])
      )
      xx = xp.linspace(0, 2, 10)
      r2 = b(xx)
      return r1, r2
  
imports: import pytest
  import inspect
  from cupy import testing
  from cupy_backends.cuda.api import driver
  from cupy_backends.cuda.api import runtime
  import numpy
  import cupyx.scipy.interpolate
label_desc: Use image node_id 16 for calling the TestBSpline obj's underlying member method code with example usage: obj.test_basis_element_quadratic(xp, scp) and returns: r1,  r2