tween.js/test/unit/tests.js
2014-08-03 15:56:07 -07:00

29 lines
435 B
JavaScript

(function() {
function getTests(TWEEN) {
var tests = {
'hello': function(test) {
test.ok(TWEEN !== null);
test.done();
},
// TWEEN tests
'TWEEN.getAll': function(test) {
test.ok(TWEEN.getAll() instanceof Array);
test.done();
}
};
return tests;
}
if(typeof module !== 'undefined' && module.exports) {
module.exports = getTests;
} else {
this.getTests = getTests;
}
}).call(this);