code: def test_generate_binary_random_number():
      binary_array = random.generate_binary_random_number(5)
  
      assert binary_array.shape == (5,)
  
file_path: opytimizer/tests/opytimizer/math/test_random.py
imports: import numpy
  from opytimizer.math import random
label_desc: Use image node_id 1 for calling a global function with example usage: test_generate_binary_random_number() without return types