<html>
<head>
    <script src="../lib/OpenLayers.js"></script>
    <script type="text/javascript">
        function test_OpenLayers(t) {
            t.plan(1);

            var script = document.getElementById("script");

            t.eq(OpenLayers._getScriptLocation(), "../", "Script location correctly detected.");
        }
    </script>
</head>
<body>
</body>
</html>

<html>
<head>
    <script src="../lib/OpenLayers.js"></script>
    <script type="text/javascript">
        function test_OpenLayers(t) {
            t.plan(3);

            var script = document.getElementById("script");

            t.eq(OpenLayers._getScriptLocation(), "../", "Script location correctly detected.");
            
            t.ok(OpenLayers.ImgPath !== undefined, "An ImgPath property exists.");
            
            t.eq(OpenLayers.ImgPath, '', "The default for OpenLayers.ImgPath is the empty string.");
        }
    </script>
</head>
<body>
</body>
</html>

Add two trivial tests for the presence and default value of OpenLayers.ImgPath.
Add two trivial tests for the presence and default
value of OpenLayers.ImgPath.
