code: def test_equality():
      default = ccrs.Mercator()
      crs = ccrs.Mercator(min_latitude=0)
      crs2 = ccrs.Mercator(min_latitude=0)
  
      # Check the == and != operators.
      assert crs == crs2
      assert crs != default
      assert hash(crs) != hash(default)
      assert hash(crs) == hash(crs2)
  
file_path: cartopy/lib/cartopy/tests/crs/test_mercator.py
imports: from numpy.testing import assert_almost_equal
  import pytest
  import cartopy.crs
  from .helpers import check_proj_params
label_desc: Use image node_id 3 for calling a global function with example usage: test_equality() without return types