code: def test_nds_compile():
      data_points = np.zeros((10, 3))
  
      search_space = pareto.ParetoSpace(data_points)
  
      new_nds = nds.NDS()
      new_nds.compile(search_space)
  
      try:
          new_nds.count = 1
      except:
          new_nds.count = np.array([1])
  
      assert new_nds.count == 1
  
      try:
          new_nds.set = 1
      except:
          new_nds.set = np.array([1])
  
      assert new_nds.set == 1
  
      try:
          new_nds.status = 1
      except:
          new_nds.status = np.array([1])
  
      assert new_nds.status == 1
  
file_path: opytimizer/tests/opytimizer/optimizers/misc/test_nds.py
imports: import numpy
  import opytimizer.math.random
  from opytimizer.optimizers.misc import nds
  from opytimizer.spaces import pareto
label_desc: Use image node_id 3 for calling a global function with example usage: test_nds_compile() without return types