JJ / nodeo

Simple evolutionary algorithm in JavaScript in CommonJS format, for node.js and anything else.
GNU General Public License v3.0
22 stars 6 forks source link

Create better tests for floating-point mutation #57

Open JJ opened 11 months ago

JJ commented 11 months ago

It passes even if there's an error in the range or whatever. It should test that it's changing a single element, and that it's changing sometimes in one direction and sometimes in other, with the range that's set or indicated.