1
YUI.add('anim-easing-test', function(Y) {
3
this.resume(function() {
4
Y.Assert.areEqual('0px', node.getComputedStyle('height'));
5
node.setStyle('height', '');
9
var node = Y.one('.demo'),
10
testCase = new Y.Test.Case({
15
function addTest(easing) {
16
testCase['should end at the final value for ' + easing] = function() {
17
var anim = new Y.Anim({
27
anim.on('end', onEnd, this);
33
Y.Object.each(Y.Easing, function(fn, name) {
34
addTest(name); // test string
37
Y.Test.Runner.add(testCase);
38
}, '@VERSION@' ,{requires:['anim-easing', 'test']});