Compare lists of arrays.
(res, desired)
| 779 | |
| 780 | # Utility |
| 781 | def compare_results(res, desired): |
| 782 | """Compare lists of arrays.""" |
| 783 | if len(res) != len(desired): |
| 784 | raise ValueError("Iterables have different lengths") |
| 785 | # See also PEP 618 for Python 3.10 |
| 786 | for x, y in zip(res, desired): |
| 787 | assert_array_equal(x, y) |
no test coverage detected