code: def assert_round_optimum(self, space, test_cases):
      design_space = Design_space(space)
      for test_case in test_cases:
          rounded = design_space.round_optimum(
              np.array(test_case["in"])
          )
          self.assertTrue(
              np.array_equal(rounded, np.array(test_case["out"]))
          )
  
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 20 for calling the TestDesignSpace obj's underlying member method code with example usage: obj.assert_round_optimum(space, test_cases) without return types