8dfb4c3ce9
default return values which are rounded to 6 decimal places. If you wish more or less accuracy, you can change it by passing a numeric argument with the accuracy you want to toBBOX(), and that accuracy will be used instead. Updated tests to test rounding to various levels. This functionality should help prevent different browsers from hitting different caches. At the equator, this rounding difference is only 4", and smaller as you head towards the poles. git-svn-id: http://svn.openlayers.org/trunk/openlayers@1558 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This directory contains unit tests for the OpenLayers library.
Tests use the Test.AnotherWay library from <http://openjsan.org>. The test
runner is 'run-tests.html' and new test files need to be added to
'list-tests.html'.
The following file naming conventions are used:
* A filename that starts with `test_` and has an `.html` extension
contains tests. These should contain tests for a specific class.
* A filename starting with `page_` and has an `.html` extension is a
supporting HTML file used in one or more tests.
* A filename starting with 'data_` is a supporting data file used in one
or more tests.