PolyMathOrg / PolyMath

Scientific Computing with Pharo
MIT License
170 stars 39 forks source link

Refactor testFFT #242

Closed hemalvarambhia closed 2 years ago

hemalvarambhia commented 2 years ago

Issue: #240

The test method is too long, and this is making it difficult to locate the precise part that is the reason. I've chosen to break it up in order to understand that better.

Along the way, we have surfaced two tests that are similar, in that they take an input (cosine wave or array), compute the discrete Fourier Transfer, its inverse, and check the size of the output signal. Perhaps we can remove the one that tests a large data set without loss of confidence.