()
| 53 | |
| 54 | |
| 55 | def test_point_in_path(): |
| 56 | # Test #1787 |
| 57 | path = Path._create_closed([(0, 0), (0, 1), (1, 1), (1, 0)]) |
| 58 | points = [(0.5, 0.5), (1.5, 0.5)] |
| 59 | ret = path.contains_points(points) |
| 60 | assert ret.dtype == 'bool' |
| 61 | np.testing.assert_equal(ret, [True, False]) |
| 62 | |
| 63 | |
| 64 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…