docstr: Tests rich comparison operators of Cells for use in the polylabel
  minimum priority queue.
docstr_tok: ["Tests","rich","comparison","operators","of","Cells","for","use","in","the","polylabel","minimum","priority","queue","."]
code: def test_cell_sorting(self):
      """
      Tests rich comparison operators of Cells for use in the polylabel
      minimum priority queue.
  
      """
      polygon = Point(0, 0).buffer(100)
      cell1 = Cell(0, 0, 50, polygon)  # closest
      cell2 = Cell(50, 50, 50, polygon)  # furthest
      assert cell1 < cell2
      assert cell1 <= cell2
      assert (cell2 <= cell1) is False
      assert cell1 == cell1
      assert (cell1 == cell2) is False
      assert cell1 != cell2
      assert (cell1 != cell1) is False
      assert cell2 > cell1
      assert (cell1 > cell2) is False
      assert cell2 >= cell1
      assert (cell1 >= cell2) is False
  
file_path: shapely/shapely/tests/legacy/test_polylabel.py
imports: import unittest
  import pytest
  from shapely.algorithms.polylabel import Cell, polylabel
  from shapely.errors import TopologicalError
  from shapely.geometry import LineString, Point, Polygon
label_desc: Use image node_id 3 for calling the PolylabelTestCase obj's underlying member method code with example usage: obj.test_cell_sorting() without return types