()
| 141 | |
| 142 | |
| 143 | def test_split_rows_and_columns_utility(): |
| 144 | num_cols = 5 |
| 145 | num_rows = 2 |
| 146 | arr = [x for x in range(1, 11)] |
| 147 | rows = list(split_rows(arr, num_cols, num_rows)) |
| 148 | assert rows == [ |
| 149 | [1, 2, 3, 4, 5], |
| 150 | [6, 7, 8, 9, 10] |
| 151 | ] |
| 152 | columns = list(split_columns(arr, num_cols, num_rows)) |
| 153 | assert columns == [ |
| 154 | [1, 6], |
| 155 | [2, 7], |
| 156 | [3, 8], |
| 157 | [4, 9], |
| 158 | [5, 10] |
| 159 | ] |
| 160 | |
| 161 | |
| 162 | def test_read_options(pickle_module): |
nothing calls this directly
no test coverage detected