You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x 1 of 134 tests failed:
1) numbers should return a function to calculate the exponential regression of an array of numbers:
AssertionError: 0.8491729985314138 == 0.8491729985314136
at Context.<anonymous> (D:\Projects\Programming\Github\numbers.js\test\statistic.test.js:108:12)
at Test.Runnable.run (D:\Projects\Programming\Github\numbers.js\node_modules\mocha\lib\runnable.js:196:15)
at Runner.runTest (D:\Projects\Programming\Github\numbers.js\node_modules\mocha\lib\runner.js:344:10)
at D:\Projects\Programming\Github\numbers.js\node_modules\mocha\lib\runner.js:390:12
at next (D:\Projects\Programming\Github\numbers.js\node_modules\mocha\lib\runner.js:270:14)
at D:\Projects\Programming\Github\numbers.js\node_modules\mocha\lib\runner.js:279:7
at next (D:\Projects\Programming\Github\numbers.js\node_modules\mocha\lib\runner.js:227:23)
at Immediate._onImmediate (D:\Projects\Programming\Github\numbers.js\node_modules\mocha\lib\runner.js:247:5)
at processImmediate [as _immediateCallback] (timers.js:358:17)
The text was updated successfully, but these errors were encountered:
There's an acceptable "error bound" for operations in numbers, numbers.EPSILON = 0.001. Given that this mismatch is within that range, it's ok. Need to update the tests to accommodate for that.
The text was updated successfully, but these errors were encountered: