jQuery 1.8 test / unit / Effects.jsテストを読んで、ここで何をテストしようとしていますか?
var speeds = {
'null speed' : null,
'undefined speed': undefined,
'false speed': false
}
// make sure passing bogus arguments doesn't change state var ?
jQuery.each( speeds,
function( name, speed ) {
pass = true;
div.hide()
.show(speed)
.each( function() {
if( this.style.display == 'none' ) {
pass = false;
}
});
ok( pass, 'Show with ' + name );
});