Tests changed per new default maxResolution.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@624 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-06-20 19:26:06 +00:00
parent bf9628ea39
commit 2ab99c6c8d
2 changed files with 4 additions and 4 deletions

View File

@@ -35,9 +35,9 @@
new OpenLayers.Pixel(20,20));
map.setCenter(new OpenLayers.LonLat(0,0), 0);
control.buttons[0].onmousedown(evt);
t.eq( map.getCenter().lat, 360/1024*50, "Pan up works correctly" );
t.eq( map.getCenter().lat, 1.40625*50, "Pan up works correctly" );
control.buttons[1].onmousedown(evt);
t.eq( map.getCenter().lon, -360/1024*50, "Pan left works correctly" );
t.eq( map.getCenter().lon, 1.40625*-50, "Pan left works correctly" );
control.buttons[2].onmousedown(evt);
t.eq( map.getCenter().lon, 0, "Pan right works correctly" );
control.buttons[3].onmousedown(evt);