tape-approximately
v1.0.0
Published
Adds t.approximately() to tape
Downloads
8
Maintainers
Readme
tape-approximately
Adds t.approximately()
to tape
Install
$ npm install --save-dev tape-approximately
Usage
const test = require('tape');
require('tape-approximately')(test);
test('floating point math', function(t) {
t.approximately(actual, expected, delta);
// or
t.approximately(actual, expected, delta, message);
});
License
MIT