input: Write a function to generate a 3x3 array of random integers ranging from 1 to 5 using the NumPy library. The function should return the generated array.
  assert np.array_equal(generate_random_array().shape, (3, 3))
  assert np.all(generate_random_array() >= 1)
  assert np.all(generate_random_array() <= 5)
output: import numpy as np
  
  def generate_random_array():
      return np.random.randint(1, 6, (3, 3))