scijs / poly-roots

Find all roots of a polynomial using the Jenkins-Traub method
18 stars 1 forks source link

Increase test coverage #5

Open rreusser opened 9 years ago

rreusser commented 9 years ago

There are lots of branches of the logic included in their algorithm. i.e. loops and retries and increasing iterations and switches. I don't know quite how to test that stuff, but maybe it just needs the shotgun approach with lots of scattered examples until code coverage is achieved.