<!doctype html>
<!--
Copyright 2010 Steven Dee. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<title>Prettify Unit Tests</title>
<script src="../../closure-library/closure/goog/base.js"></script>
<script src="../deps.js"></script>
<script>
  goog.require('goog.dom');
  goog.require('goog.testing.jsunit');
  goog.require('jsprettify');
</script>
<body>
<script>
  function testGlobalsAreExported() {
    assertTrue(typeof window.prettify == 'function');
    assertTrue(typeof window.prettifyHtml == 'function');
    assertTrue(typeof window.prettifyStr == 'function');
    assertTrue(typeof window.prettifyTextInputs == 'function');
  }
</script>

<!doctype html>
<!--
Copyright 2010 Steven Dee. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<title>Prettify Unit Tests</title>
<script src="../../closure-library/closure/goog/base.js"></script>
<script src="../deps.js"></script>
<script>
  goog.require('goog.dom');
  goog.require('goog.testing.jsunit');
  goog.require('jsprettify');
</script>
<body>
<script>
  function testGlobalsAreExported() {
    assertTrue('prettify is a function', typeof window.prettify == 'function');
    assertTrue('prettifyHtml is a function',
        typeof window.prettifyHtml == 'function');
    assertTrue('prettifyStr is a function',
        typeof window.prettifyStr == 'function');
    assertTrue('prettifyTextInputs is a function',
        typeof window.prettifyTextInputs == 'function');
  }
</script>

Add documentation to test cases
Add documentation to test cases
