rem: test("$.each(Object,Function)", function() { expect(8); $.each( [0,1,2], function(i, n){ ok( i == n, "Check array iteration" ); });  $.each( [5,6,7], function(i, n){ ok( i == n - 5, "Check array iteration" ); });  $.each( { name: "name", lang: "lang" }, function(i, n){ ok( i == n, "Check object iteration" ); }); 
add: test("toggleClass(String)", function() { expect(3); var e = $("#firstp"); ok( !e.is(".test"), "Assert class not present" ); e.toggleClass("test"); ok( e.is(".test"), "Assert class present" ); e.toggleClass("test"); ok( !e.is(".test"), "Assert class not present" ); 
context: test("$.each(Object,Function)", function() {	expect(8);	$.each( [0,1,2], function(i, n){		ok( i == n, "Check array iteration" );	});		$.each( [5,6,7], function(i, n){		ok( i == n - 5, "Check array iteration" );	});	 	$.each( { name: "name", lang: "lang" }, function(i, n){		ok( i == n, "Check object iteration" );	});});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3217/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/buggy/src/jquery/coreTest.js