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

Method test_single_point

geometry/tests/test_jarvis_march.py:81–83  ·  view source on GitHub ↗

Test single point returns empty hull.

(self)

Source from the content-addressed store, hash-verified

79 assert jarvis_march([]) == []
80
81 def test_single_point(self) -> None:
82 """Test single point returns empty hull."""
83 assert jarvis_march([Point(0, 0)]) == []
84
85 def test_two_points(self) -> None:
86 """Test two points return empty hull."""

Callers

nothing calls this directly

Calls 2

jarvis_marchFunction · 0.90
PointClass · 0.90

Tested by

no test coverage detected