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 specified size. If the input size is less than or equal to 0, the function should return an empty array.
  
  
  assert generate_random_array(10) is not None
  assert len(generate_random_array(10)) == 10
  assert generate_random_array(0) == []
  assert generate_random_array(-5) == []
  
output: import random
  
  def generate_random_array(size):
      if size <= 0:
          return []
      return [random.randint(0, 99) for _ in range(size)]