code: def test_round_optimum_bandit(self):
      space = [
          {
              "name": "var1",
              "type": "bandit",
              "domain": np.array([[-2, 2], [0, 1], [2, 3]]),
          }
      ]
      test_cases = [
          {"in": [[0, -1]], "out": [[0, 1]]},
          {"in": [[2, 2]], "out": [[2, 3]]},
          {"in": [[1, 1]], "out": [[0, 1]]},
          {"in": [[100, 200]], "out": [[2, 3]]},
          {"in": [[-3, 2]], "out": [[-2, 2]]},
      ]
      self.assert_round_optimum(space, test_cases)
  
imports: import numpy
  import unittest
  from GPyOpt.core.task.space import Design_space
  from GPyOpt.core.task.variables import BanditVariable, DiscreteVariable, CategoricalVariable, ContinuousVariable
  from GPyOpt.core.errors import InvalidConfigError
label_desc: Use image node_id 25 for calling the TestDesignSpace obj's underlying member method code with example usage: obj.test_round_optimum_bandit() without return types