code: def test_generate_integer_random_number():
      integer_array = random.generate_integer_random_number(
          0, 1, None, 5
      )
  
      assert integer_array.shape == (5,)
  
      integer_array = random.generate_integer_random_number(0, 10, 1, 9)
  
      assert integer_array.shape == (9,)
  
file_path: opytimizer/tests/opytimizer/math/test_random.py
imports: import numpy
  from opytimizer.math import random
label_desc: Use image node_id 4 for calling a global function with example usage: test_generate_integer_random_number() without return types