Test with all points on the same line.
()
| 28 | |
| 29 | |
| 30 | def test_collinear_points() -> None: |
| 31 | """Test with all points on the same line.""" |
| 32 | points = [ |
| 33 | Point(1, 0), |
| 34 | Point(2, 0), |
| 35 | Point(3, 0), |
| 36 | Point(4, 0), |
| 37 | Point(5, 0), |
| 38 | ] |
| 39 | assert graham_scan(points) == [] |
| 40 | |
| 41 | |
| 42 | def test_triangle() -> None: |
nothing calls this directly
no test coverage detected