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" ); 
test("addClass(String)", function() { var div = $("div"); div.addClass("test"); var pass = true; for ( var i = 0; i < div.size(); i++ ) { if ( div.get(i).className.indexOf("test") == -1 ) pass = false; } ok( pass, "Add Class" ); 
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" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/buggy/src/jquery/coreTest.js