Add tests for new 2024.12 functionality
This is a tracking issue for testing new 2024.12 functionality.
There isn't a changelog yet, but the new functionality that I'm aware of is:
New functions
- [ ]
diff - [ ]
nextafter - [x]
reciprocal - [ ]
take_along_axis - [x]
count_nonzero - [x]
cumulative_prod
New Functionality
- [ ] The
'max dimensions'key of__array_namespace_info__().capabilities()(note thatcapabilitiesitself is not yet tested at all, see https://github.com/data-apis/array-api-tests/issues/249) -- some smoke-testing in gh-362
Scalar support: most functions are (lightly) tested. After gh-348, the following binary functions are still not tested at all:
- [ ] bitwise_right_shift
- [ ] bitwise_left_shift
- [ ] nextafter
- [ ] where
- [ ] pow
- [x] result_type ( gh-349 )
cross-ref https://github.com/data-apis/array-api-tests/pull/324 for testing reciprocal and cumulative_prod.
https://github.com/data-apis/array-api-tests/pull/347 adds a test for count_nonzero
We now officially have the 2024.12 test coverage. At least all new functions are covered, with remaining TODOs tracked in gh-301 and gh-364.