3 <script src="../../lib/OpenLayers.js"></script>
4 <script type="text/javascript">
5 function test_Control_Button_constructor (t) {
8 control = new OpenLayers.Control.Button();
9 t.ok( control instanceof OpenLayers.Control.Button, "new OpenLayers.Control returns object" );
10 t.eq( control.displayClass, "olControlButton", "displayClass is correct" );