No need to depend on voc #2

Closed
hmalphettes wants to merge 1 commits from master into master
3 changed files with 2 additions and 2 deletions

@ -1,6 +1,7 @@
LIBRARY=bessel
$(LIBRARY).js: bessel.md
@[ -e node_modules/voc ] && true || npm install voc
node_modules/.bin/voc $^ > $@
test mocha:

@ -11,7 +11,6 @@
"test": "make test"
},
"dependencies": {
"voc":""
},
"devDependencies": {
"mocha":""

@ -17,6 +17,6 @@ describe('When using bessel functions', function() {
assert(Math.floor((bessel.besselk(1.5, 1) - 0.277388) * 10e6) < 10);
});
it('It must compute Weber\'s Bessel function at 2.5 with an order of 1 (0.145918)', function() {
assert(Math.floor((bessel.besselk(2.5, 1) - 0.981666) * 10e6) < 10);
assert(Math.floor((bessel.bessely(2.5, 1) - 0.145918) * 10e6) < 10);
});
});