code: def test_compose_ongrid():
      x = OnGrid(jnp.asarray([1.0]), domain)
      z = operators.compose(x)(jnp.exp)
      assert z.params == jnp.exp(1.0)
  
file_path: jaxdf/tests/test_functions.py
imports: import jax
  import numpy
  from jax import jit
  from jax import numpy
  from jaxdf import *
label_desc: Use image node_id 3 for calling a global function with example usage: test_compose_ongrid() without return types