()
| 359 | |
| 360 | |
| 361 | def test_divide_to_width(): |
| 362 | chunks = divide_to_width((8, 9, 10), 10) |
| 363 | assert chunks == (8, 9, 10) |
| 364 | chunks = divide_to_width((8, 2, 9, 10, 11, 12), 4) |
| 365 | # Note how 9 gives (3, 3, 3), not (4, 4, 1) or whatever |
| 366 | assert chunks == (4, 4, 2, 3, 3, 3, 3, 3, 4, 3, 4, 4, 4, 4, 4) |
| 367 | |
| 368 | |
| 369 | def test_merge_to_number(): |
nothing calls this directly
no test coverage detected