code: def test_op_inverse():
      domain = Domain((1,), (1.0,))
      a = OnGrid(jnp.asarray([1.0]), domain)
  
      b = inverse(a).on_grid
      b_exp = 1.0 / a.on_grid
      assert b == b_exp
  
imports: import pytest
  from jax import jit
  from jax import numpy
  from jax import random
  from jaxdf.discretization import FiniteDifferences, FourierSeries, OnGrid
  from jaxdf.geometry import Domain
  from jaxdf.operators import inverse
label_desc: Use image node_id 15 for calling a global function with example usage: test_op_inverse() without return types