code: def test_HeapElement_gtlt():
      bar = _HeapElement(1.1, "a")
      foo = _HeapElement(1, "b")
      assert foo < bar
      assert bar > foo
      assert foo < 1.1
      assert 1 < bar
  
imports: import pytest
  from networkx.utils.mapped_queue import MappedQueue, _HeapElement
label_desc: Use image node_id 1 for calling a global function with example usage: test_HeapElement_gtlt() without return types