code: def assert_samples_against_space(self, samples):
      lower_bound_var1 = self.design_space.name_to_variable[
          "var_1"
      ].domain[0]
      upper_bound_var1 = self.design_space.name_to_variable[
          "var_1"
      ].domain[1]
      self.assertTrue((samples[:, 0] >= lower_bound_var1).all())
      self.assertTrue((samples[:, 0] <= upper_bound_var1).all())
  
      var2_values = self.design_space.name_to_variable["var_2"].domain
      self.assertTrue(np.in1d(samples[:, 1], var2_values).all())
  
      var3_values = self.design_space.name_to_variable["var_3"].domain
      self.assertTrue(np.in1d(samples[:, 2], var3_values).all())
  
imports: from __future__ import division
  import numpy
  import unittest
  from numpy.testing import assert_allclose
  from GPyOpt.core.errors import InvalidConfigError
  from GPyOpt.core.task.space import Design_space
  from GPyOpt.experiment_design import initial_design
  from GPyOpt.util.general import normalize
label_desc: Use image node_id 2 for calling the TestInitialDesign obj's underlying member method code with example usage: obj.assert_samples_against_space(samples) without return types