tape-approximately

1.0.0 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.01latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.01

Package Sidebar

Install

npm i tape-approximately

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • psalaets