input: Write a function to generate an array of random numbers in Python. The function should accept the size of the array as an input parameter and return the generated array.
  
  import numpy as np
  
  def generate_random_array(size):
      return np.random.randint(0, 100, size)
  
  assert len(generate_random_array(10)) == 10
  assert len(generate_random_array(0)) == 0
  assert len(generate_random_array(5)) == 5
output: def generate_random_array(size):
      return np.random.randint(0, 100, size)