diff options
author | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
commit | fc7369835258467bf97eb64f184b93691f9a9fd5 (patch) | |
tree | daabd60089d2dd76d9f5fb416b005fbe159c799d /www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/close-enough/README.md |
first commit
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/close-enough/README.md')
-rw-r--r-- | www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/close-enough/README.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/close-enough/README.md b/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/close-enough/README.md new file mode 100644 index 00000000..d490b250 --- /dev/null +++ b/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/qunit/addons/close-enough/README.md @@ -0,0 +1,17 @@ +Close-Enough - A QUnit Addon For Number Approximations +================================ + +This addon for QUnit adds close and notClose assertion methods, to test that +numbers are close enough (or different enough) from an expected number, with +a specified accuracy. + +Usage: + + close(actual, expected, maxDifference, message) + notClose(actual, expected, minDifference, message) + +Where: + + * maxDifference: the maximum inclusive difference allowed between the actual and expected numbers + * minDifference: the minimum exclusive difference allowed between the actual and expected numbers + * actual, expected, message: The usual |