Détail du package

tape-approximately

psalaets9MIT1.0.0

Adds t.approximately() to tape

tape, delta, approximately, approx

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

changelog

Change Log

All notable changes to this project will be documented in this file.

[1.0.0] - 2017-03-22

Added

  • Initial impl