()
| 221 | |
| 222 | |
| 223 | def test_make_compound_path_empty(): |
| 224 | # We should be able to make a compound path with no arguments. |
| 225 | # This makes it easier to write generic path based code. |
| 226 | empty = Path.make_compound_path() |
| 227 | assert empty.vertices.shape == (0, 2) |
| 228 | r2 = Path.make_compound_path(empty, empty) |
| 229 | assert r2.vertices.shape == (0, 2) |
| 230 | assert r2.codes.shape == (0,) |
| 231 | r3 = Path.make_compound_path(Path([(0, 0)]), empty) |
| 232 | assert r3.vertices.shape == (1, 2) |
| 233 | assert r3.codes.shape == (1,) |
| 234 | |
| 235 | |
| 236 | def test_make_compound_path_stops(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…