]> dev.renevier.net Git - syp.git/blob - openlayers/tests/Geometry/Surface.html
err_lonlat_invalid exceptions not thrown correctly
[syp.git] / openlayers / tests / Geometry / Surface.html
1 <html>
2 <head>
3   <script src="../../lib/OpenLayers.js"></script>
4   <script type="text/javascript">
5
6     function test_Surface_constructor (t) {
7         t.plan( 2 );
8         
9         var g = new OpenLayers.Geometry.Surface();
10         
11         t.eq(g.CLASS_NAME, "OpenLayers.Geometry.Surface", "correct CLASS_NAME")
12         t.ok(OpenLayers.String.startsWith(g.id, "OpenLayers.Geometry.Surface_"),
13              "id correctly set");
14     }
15
16
17
18   </script>
19 </head>
20 <body>
21 </body>
22 </html>