()
| 130 | |
| 131 | |
| 132 | def test_point_in_path_nan(): |
| 133 | box = np.array([[0, 0], [1, 0], [1, 1], [0, 1], [0, 0]]) |
| 134 | p = Path(box) |
| 135 | test = np.array([[np.nan, 0.5]]) |
| 136 | contains = p.contains_points(test) |
| 137 | assert len(contains) == 1 |
| 138 | assert not contains[0] |
| 139 | |
| 140 | |
| 141 | def test_nonlinear_containment(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…