(kth, k, arr_part)
| 70 | |
| 71 | |
| 72 | def assert_arr_partitioned(kth, k, arr_part): |
| 73 | assert_equal(arr_part[k], kth) |
| 74 | assert_array_compare(operator.__le__, arr_part[:k], kth) |
| 75 | assert_array_compare(operator.__ge__, arr_part[k:], kth) |
| 76 | |
| 77 | |
| 78 | def _aligned_zeros(shape, dtype=float, order="C", align=None): |
no test coverage detected
searching dependent graphs…