()
| 249 | |
| 250 | |
| 251 | def test_smooth_chunks_first_dimension(): |
| 252 | ii = 1 |
| 253 | ileft = 0 |
| 254 | result_inchunks = [ |
| 255 | (1, 1, 3, 1, 1, 3), |
| 256 | (6,), |
| 257 | ( |
| 258 | 3, |
| 259 | 3, |
| 260 | ), |
| 261 | ] |
| 262 | result_in = _smooth_chunks(ileft, ii, 12, result_inchunks) |
| 263 | expected_in = [(1, 1, 1, 2, 1, 1, 1, 2), (6,), (3, 3)] |
| 264 | assert result_in == expected_in |
| 265 | result_in = _smooth_chunks(ileft, ii, 6, result_inchunks) |
| 266 | expected_in = [(1, 1, 1, 1, 1, 1, 1, 1, 1, 1), (6,), (3, 3)] |
| 267 | assert result_in == expected_in |
| 268 | |
| 269 | |
| 270 | def test_smooth_chunks_large_dimension(): |
nothing calls this directly
no test coverage detected