mirror of
https://github.com/tweenjs/tween.js.git
synced 2026-01-25 16:46:30 +00:00
29 lines
435 B
JavaScript
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);
|