code: def test_has_number_of_workers():
      param = HasNumberOfWorkers()
      assert param.get_num_workers() == 8
      workers = 12
      param.set_num_workers(workers)
      assert param.get_num_workers() == workers
  
file_path: elephas/tests/ml/test_params.py
imports: from elephas.ml.params import *
label_desc: Use image node_id 11 for calling a global function with example usage: test_has_number_of_workers() without return types