User:PerfektesChaos/js/isbnLib/qunit

A qunit test will check functionality of isbnLib.

After loading the code a test suite is executed and results will be displayed in JS console.

Every API function is tested at least by one example.

If no error messages occur the library seems to be fine.

For re-run reload browser page.

Configuration
An individual test suite may be added to the built-in basic test series.

The following code might be provided before loading:

is an Array of objects.

For every object in the Array the following components will be evaluated:
 * – function to be run; mandatory. Either
 * string – name of a public function in API
 * function – any function defined anywhere
 * – Array of arguments applied to
 * – atomic value (boolean number string) to be compared with the result, throwing message indicating mismatch