code: def test_numpy_r_(inputs, backend_fw):
      inputs, elems_in_last_dim, dim = inputs
      ret_gt = np.r_.__getitem__(tuple(inputs))
      with BackendHandler.update_backend(backend_fw):
          ret = np_frontend.r_.__getitem__(tuple(inputs))
      if isinstance(inputs[0], str) and inputs[0] in ["r", "c"]:
          ret = ret._data
      else:
          ret = ret.ivy_array
      assert np.allclose(ret, ret_gt)
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_indexing_routines/test_inserting_data_into_arrays.py
imports: from hypothesis import strategies
  import numpy
  import ivy_tests.test_ivy.helpers
  import ivy_tests.test_ivy.test_frontends.test_numpy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test, BackendHandler
  import ivy.functional.frontends.numpy
label_desc: Use image node_id 5 for calling a global function with example usage: test_numpy_r_(inputs, backend_fw) without return types