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

Method test_empty_list

geometry/tests/test_jarvis_march.py:77–79  ·  view source on GitHub ↗

Test empty list returns empty hull.

(self)

Source from the content-addressed store, hash-verified

75 assert not any(p in hull for p in interior)
76
77 def test_empty_list(self) -> None:
78 """Test empty list returns empty hull."""
79 assert jarvis_march([]) == []
80
81 def test_single_point(self) -> None:
82 """Test single point returns empty hull."""

Callers

nothing calls this directly

Calls 1

jarvis_marchFunction · 0.90

Tested by

no test coverage detected