input: Write a function to generate an array of random numbers in Python. The function should take an integer size as input and return an array of random integers between 0 and 99 of the given size. If the size is 0, the function should return an empty array.
  
  
  import numpy as np
  
  def generate_random_array(size):
      if size == 0:
          return []
      return np.random.randint(0, 100, size)
  
  # Test cases
  assert len(generate_random_array(10)) == 10
  assert len(generate_random_array(0)) == 0
  assert all(isinstance(x, int) for x in generate_random_array(5))
  
output: def generate_random_array(size):
      if size == 0:
          return []
      return np.random.randint(0, 100, size)