input: Write a function to generate an array of random numbers in Python using the numpy library. The function should take the size of the array as input and return the array of random integers.
  assert generate_random_array(10).shape == (10,)
  assert generate_random_array(5).shape == (5,)
  assert generate_random_array(0) == []
  assert isinstance(generate_random_array(10)[0], int)
output: import numpy as np
  
  def generate_random_array(size):
      if size == 0:
          return []
      return np.random.randint(0, 100, size=size)