c | e b | | d a Prefer longer chains first so we should start with d
(abcde)
| 445 | |
| 446 | |
| 447 | def test_prefer_deep(abcde): |
| 448 | """ |
| 449 | c |
| 450 | | |
| 451 | e b |
| 452 | | | |
| 453 | d a |
| 454 | |
| 455 | Prefer longer chains first so we should start with d |
| 456 | """ |
| 457 | a, b, c, d, e = abcde |
| 458 | dsk = {a: 1, b: (f, a), c: (f, b), d: 1, e: (f, d)} |
| 459 | |
| 460 | o = order(dsk) |
| 461 | assert_topological_sort(dsk, o) |
| 462 | assert o[a] < o[d] |
| 463 | assert o[b] < o[d] |
| 464 | |
| 465 | |
| 466 | def test_stacklimit(abcde): |
nothing calls this directly
no test coverage detected