code: def test_jax_numpy_r_(inputs, backend_fw):
      inputs, *_ = inputs
      ret_gt = r_.__getitem__(tuple(inputs))
      with BackendHandler.update_backend(backend_fw):
          ret = jnp_frontend.r_.__getitem__(tuple(inputs))
      assert np.allclose(ret.ivy_array, ret_gt)
  
imports: from hypothesis import strategies, assume
  import numpy
  import ivy
  from jax.numpy import tril, triu, r_, c_
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test, BackendHandler
  from ...test_numpy.test_indexing_routines.test_inserting_data_into_arrays import _helper_r_, _helper_c_
  import ivy.functional.frontends.jax.numpy
label_desc: Use image node_id 13 for calling a global function with example usage: test_jax_numpy_r_(inputs, backend_fw) without return types