visionmedia/should.js — pull request #67 by mhct (2012-05-14 09:03:24+00:00)
Title: Added floating point numbers test support

I added a test function for floating point numbers, feql(), to should.js. The function takes the expected value, the actual value and a delta used to check the maximum difference between the two floating point numbers

feql(10.1, 10.2, 0.2) => true
feql(10.1, 10.2, 0.1) => false