code: def test_values(self):
      n = (
          self.configspace.get_hyperparameters()[0].upper
          - self.configspace.get_hyperparameters()[0].lower
          + 1
      )
  
      for bw in [1e-3, 1e-2, 1e-1, 0.99]:
          sm_x_train = np.rint(self.x_train * n - 0.5).astype(np.int)
          sm_x_test = (
              np.rint(self.x_test * n - 0.5).astype(np.int).squeeze()
          )
          sm_values = np.array(
              [
                  sm_kernels.wang_ryzin(bw, sm_x_train[:, None], x)
                  for x in sm_x_test
              ]
          ).squeeze()
          hp_kernel = hp_kernels.WangRyzinInteger(
              data=self.x_train,
              bandwidth=bw,
              num_values=n,
              fix_boundary=False,
          )
          hp_values = hp_kernel(self.x_test).squeeze()
  
          self.assertTrue(np.allclose(hp_values.T, sm_values, 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 3 for calling the Test1dInteger obj's underlying member method code with example usage: obj.test_values() without return types