utils/qunit/qunit-close-enough.js
function(actual, expected, maxDifference, message) {
		var passes = (actual === expected) || Math.abs(actual - expected) <= maxDifference;
		QUnit.push(passes, actual, expected, message);
	}
function(actual, expected, maxDifference, message) {
		var passes = (actual === expected) || Math.abs(actual - expected) <= maxDifference;
		QUnit.push(passes, actual, expected, message);
	}
function ( actual , expected , maxDifference , message ) { var passes = ( actual === expected ) || Math . abs ( actual - expected ) <= maxDifference ; QUnit . push ( passes , actual , expected , message ) ; }
Checks that the first two arguments are equal, or are numbers close enough to be considered equal
based on a specified maximum allowable difference.

@example close(3.141, Math.PI, 0.001);

@param Number actual
@param Number expected
@param Number maxDifference (the maximum inclusive difference allowed between the actual and expected numbers)
@param String message (optional)
Checks that the first two arguments are equal or are numbers close enough to be considered equal based on a specified maximum allowable difference .