MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / test_point_equality

Function test_point_equality

geometry/tests/test_graham_scan.py:178–185  ·  view source on GitHub ↗

Test Point equality.

()

Source from the content-addressed store, hash-verified

176
177
178def test_point_equality() -> None:
179 """Test Point equality."""
180 p1 = Point(1, 2)
181 p2 = Point(1, 2)
182 p3 = Point(2, 1)
183
184 assert p1 == p2
185 assert p1 != p3
186
187
188def test_point_comparison() -> None:

Callers

nothing calls this directly

Calls 1

PointClass · 0.90

Tested by

no test coverage detected