3 test("animate(Hash, Object, Function) - assert that animate doesn't modify its arguments", function() {
6 var hash = {opacity: 'show'};
7 var hashCopy = $.extend({}, hash);
8 $('#foo').animate(hash, 'fast', function() {
9 ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' );
14 test("toggle()", function() {
16 ok( x.is(":visible") );
18 ok( x.is(":hidden") );
20 ok( x.is(":visible") );