MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __eq__

Method __eq__

divide_and_conquer/convex_hull.py:51–52  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

49 self.x, self.y = float(x), float(y)
50
51 def __eq__(self, other):
52 return self.x == other.x and self.y == other.y
53
54 def __ne__(self, other):
55 return not self == other

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected