()
| 280 | |
| 281 | |
| 282 | def test_inline_functions(): |
| 283 | x, y, i, d = "xyid" |
| 284 | dsk = {"out": (add, i, d), i: (inc, x), d: (double, y), x: 1, y: 1} |
| 285 | |
| 286 | result = inline_functions(dsk, [], fast_functions={inc}) |
| 287 | expected = {"out": (add, (inc, x), d), d: (double, y), x: 1, y: 1} |
| 288 | assert result == expected |
| 289 | |
| 290 | |
| 291 | def test_inline_ignores_curries_and_partials(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…