()
| 190 | |
| 191 | |
| 192 | def test_pat015_patch_insert(): |
| 193 | p = Patch() |
| 194 | p.insert(1, "inserted") |
| 195 | |
| 196 | data = patch_to_dict(p) |
| 197 | assert data["operations"][0] == { |
| 198 | "operation": "Insert", |
| 199 | "location": [], |
| 200 | "params": {"index": 1, "value": "inserted"}, |
| 201 | } |
| 202 | |
| 203 | |
| 204 | def test_pat016_patch_slice(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…