code: def test_pdf_boundary_quadrature(self):
      self.x_test = np.array([0, 1, 2, 3])
  
      for bw in [1e-2, 1e-1, 0.99]:
          hp_kernel = hp_kernels.WangRyzinOrdinal(
              data=self.x_train,
              bandwidth=bw,
              num_values=4,
              fix_boundary=True,
          )
          hp_values = hp_kernel(self.x_test).mean(axis=0)
          self.assertAlmostEqual(hp_values.sum(), 1, delta=1e-4)
  
imports: import os
  import unittest
  import numpy
  from scipy.integrate import quad
  from statsmodels.nonparametric import kernels
  from hpbandster.optimizers.kde import kernels
  import ConfigSpace
  from pdb import set_trace
label_desc: Use image node_id 5 for calling the Test1dOrdinal obj's underlying member method code with example usage: obj.test_pdf_boundary_quadrature() without return types