Description
The mindist and pointwise distance modules currently lack dedicated test coverage.
mindist module - 4 files need tests:
- _sax.py
- _sfa.py
- _dft_sfa.py
- _paa_sax.py
pointwise module - 4 files need tests:
- _euclidean.py
- _manhattan.py
- _squared.py
- _minkowski.py
Why This Matters
Distance calculations are fundamental to classification, clustering, and regression in aeon. Without tests, refactoring could introduce bugs and edge cases may not be handled correctly.
Currently only test_symbolic_mindist.py exists for mindist, and pointwise has no dedicated tests.
Proposed Solution
Add comprehensive test suites covering:
- Correctness with known values
- Mathematical properties (symmetry, non-negativity, etc.)
- Edge cases (empty series, extreme values, NaN/Inf)
- Lower bounding properties for mindist functions
- Pairwise distance computations