code: def test_category_setter():
      try:
          new_node = node.Node(name=0, category="F")
      except:
          new_node = node.Node(name=0, category="FUNCTION")
  
      assert new_node.category == "FUNCTION"
  
      try:
          new_node = node.Node(name=0, category="T")
      except:
          new_node = node.Node(
              name=0, category="TERMINAL", value=np.array(0)
          )
  
      assert new_node.category == "TERMINAL"
  
imports: import numpy
  from opytimizer.core import node
label_desc: Use image node_id 5 for calling a global function with example usage: test_category_setter() without return types