dojo
Version:
Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.
24 lines (21 loc) • 423 B
JavaScript
define([
'intern!object',
'intern/chai!assert',
'../../../fx/easing'
], function (registerSuite, assert, easing) {
registerSuite({
name: 'dojo/fx/easing',
'module': {
'full of functions': function () {
for(var i in easing){
assert.isFunction(easing[i]);
}
}
},
'performs some calculation': function () {
for(var i in easing){
assert.isFalse(isNaN(easing[i](0.5)));
}
}
});
});