()
| 21 | |
| 22 | |
| 23 | def test_loop_first_last(): |
| 24 | assert list(loop_first_last([])) == [] |
| 25 | iterable = loop_first_last(["apples", "oranges", "pears", "lemons"]) |
| 26 | assert next(iterable) == (True, False, "apples") |
| 27 | assert next(iterable) == (False, False, "oranges") |
| 28 | assert next(iterable) == (False, False, "pears") |
| 29 | assert next(iterable) == (False, True, "lemons") |
| 30 | |
| 31 | |
| 32 | def test_ratio_distribute(): |
nothing calls this directly
no test coverage detected