3 test("animate(Hash, Object, Function)", function() {
6 var hash = {opacity: 'show'};
7 var hashCopy = $.extend({}, hash);
8 $('#foo').animate(hash, 0, function() {
9 ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' );
14 test("toggle()", function() {
17 ok( x.is(":visible") );
19 ok( x.is(":hidden") );
21 ok( x.is(":visible") );