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