LearnBoost/expect.js — pull request #6 by magwo (2012-01-17 14:45:52+00:00)
Title: Added almostEqual() assert

Added almostEqual() assert for checking for near-equality, useful for testing results of numeric calculations with precision rounding errors. Test code becomes much more compact than when using within() assert directly.

Also wrote some some unit tests that should cover most potential bugs if not all.