fixed tab / spacing
git-svn-id: http://svn.openlayers.org/trunk/openlayers@46 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -3,13 +3,16 @@
|
|||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript"><!--
|
<script type="text/javascript"><!--
|
||||||
var pixel;
|
var pixel;
|
||||||
|
|
||||||
function test_01_Pixel_constructor (t) {
|
function test_01_Pixel_constructor (t) {
|
||||||
t.plan( 3 );
|
t.plan( 3 );
|
||||||
pixel = new OpenLayers.Pixel(5,6);
|
pixel = new OpenLayers.Pixel(5,6);
|
||||||
t.ok( pixel instanceof OpenLayers.Pixel, "new OpenLayers.Pixel returns Pixel object" );
|
t.ok( pixel instanceof OpenLayers.Pixel, "new OpenLayers.Pixel returns Pixel object" );
|
||||||
t.eq( pixel.x, 5, "pixel.x is set correctly");
|
t.eq( pixel.x, 5, "pixel.x is set correctly");
|
||||||
t.eq( pixel.y, 6, "pixel.y is set correctly");
|
t.eq( pixel.y, 6, "pixel.y is set correctly");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// -->
|
// -->
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user