var x = $("#foo"); ok( x.is(":visible") ); x.toggle(); ok( x.is(":hidden") ); x.toggle(); ok( x.is(":visible") ); 
stop(); reset();  var foo = $("#foo")[0]; var h = foo.style.height;  $("#foo").slideUp(1000); setTimeout(function(){ var nh = foo.style.height; ok( nh != h, "An animation occurred " + nh + " " + h ); $("#foo").stop();  nh = foo.style.height; ok( nh != h, "Stop didn't reset the animation " + nh + " " + h ); setTimeout(function(){ equals( nh, foo.style.height, "The animation didn't continue" ); start(); }, 100); }, 100); 
test("toggle()", function() {	expect(3);	var x = $("#foo");	ok( x.is(":visible") );	x.toggle();	ok( x.is(":hidden") );	x.toggle();	ok( x.is(":visible") );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/1d299d375b6d97d65559286d914df2d5a77949db/fx.js/clean/test/unit/fx.js