()
| 312 | |
| 313 | |
| 314 | def test_slice_start_zero(): |
| 315 | items = [1, 2, 3] |
| 316 | result = [None] |
| 317 | pm.eval("(result, arr) => {result[0] = arr.slice(0,2)}")(result, items) |
| 318 | assert items == [1, 2, 3] |
| 319 | assert result[0] == [1, 2] |
| 320 | |
| 321 | |
| 322 | def test_slice_stop_length(): |
nothing calls this directly
no outgoing calls
no test coverage detected