DK96-OS / MathTools

Mathematical Software Components. This library is actively maintained, and aims to stay updated. New feature proposals are welcome, but may not be included.
Apache License 2.0
2 stars 1 forks source link

Testing Strategy Improvements #88

Closed DK96-OS closed 1 year ago

DK96-OS commented 2 years ago

Another piece of the strategy is to look for changes in work required on large inputs. The CompareFactors.lcm method is the most impacted by changes in inputs. It appears that this method has no tests on inputs larger than 256.

Originally posted by @DK96-OS in https://github.com/DK96-OS/MathTools/issues/86#issuecomment-1090377992

It is important that valid inputs to public methods be determined and demonstrated by test cases. This example of a chaotic method shows how Testing Strategy needs improvements.

Define a system that iteratively: