()
| 159 | |
| 160 | |
| 161 | def test_float_balanced(): |
| 162 | weights = [0., 1.1, 1.9, 3., 3., 3.] |
| 163 | P = 4 |
| 164 | parts = partition_balanced(weights, P) |
| 165 | assert_valid_partition(weights, parts, P) |
| 166 | assert parts == [0, 3, 4, 5, 6] |
| 167 | |
| 168 | |
| 169 | @pytest.mark.skip(reason="Variance-minimizing partitioning returns different result.") |
nothing calls this directly
no test coverage detected