input: Write a function to generate an array of random integers in Python using the numpy library. The function should take an integer 'size' as input and return the generated array.
  
  def generate_random_array(size):
      import numpy as np
      random_array = np.random.randint(0, 100, size)
      return random_array
  
  assert list(generate_random_array(10)) == list(np.random.randint(0, 100, 10))
  assert list(generate_random_array(5)) == list(np.random.randint(0, 100, 5))
output: def generate_random_array(size):
      import numpy as np
      random_array = np.random.randint(0, 100, size)
      return random_array