Open
Description
I was thinking of moving the tests to a more robust unit test model. It'll take:
- The
dtype
,shape
of each input array. - The function name to test (both sparse and NumPy/SciPy) or callable.
- Where to place the arguments.
- Any additional arguments to the function.
It will:
- Generate the random arrays.
- Perform the operation on both arrays.
- Compare/assert.
This way, tests just reduce to "stub classes" instead of repetitions.
cc: @mrocklin