code: def test_op_neg():
      domain = Domain((1,), (1.0,))
      a = Linear(jnp.asarray([1.0]), domain)
  
      b = (-a).params
      b_exp = -(a.params)
      assert b == b_exp
  
imports: import pytest
  from jax import numpy
  from jaxdf.discretization import Linear
  from jaxdf.geometry import Domain
label_desc: Use image node_id 2 for calling a global function with example usage: test_op_neg() without return types