Spaces:
Running
Running
File size: 1,954 Bytes
87b3b3a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>rot.js tests</title>
<link rel="shortcut icon" type="image/png" href="lib/jasmine-1.2.0/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.2.0/jasmine.css">
<script>
if (!Function.prototype.bind) {
/**
* ES5 Function.prototype.bind for rhino
*/
Function.prototype.bind = function(thisObj) {
var fn = this;
var args = Array.prototype.slice.call(arguments, 1);
return function() {
return fn.apply(thisObj, args.concat(Array.prototype.slice.call(arguments)));
}
}
};
if (!String.prototype.trim) {
/**
* ES5 String.prototype.trim for rhino
*/
String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g, "");
}
};
</script>
<script src="lib/jasmine-1.2.0/jasmine.js"></script>
<script src="lib/jasmine-1.2.0/jasmine-html.js"></script>
<script src="reporters/jasmine.console_reporter.js"></script>
<script src="../rot.js"></script>
<script src="spec/js.js"></script>
<script src="spec/rng.js"></script>
<script src="spec/path.js"></script>
<script src="spec/scheduler.js"></script>
<script src="spec/engine.js"></script>
<script src="spec/dungeon.js"></script>
<script src="spec/text.js"></script>
<script src="spec/display.js"></script>
<script src="spec/fov.js"></script>
<script src="spec/color.js"></script>
<script type="text/javascript">
(function() {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.addReporter(new jasmine.ConsoleReporter());
var htmlReporter = new jasmine.HtmlReporter();
jasmineEnv.addReporter(htmlReporter);
jasmineEnv.specFilter = function(spec) {
return htmlReporter.specFilter(spec);
};
var currentWindowOnload = window.onload;
window.onload = function() {
if (currentWindowOnload) { currentWindowOnload(); }
jasmineEnv.execute();
};
})();
</script>
</head>
<body>
</body>
</html>
|