test("eq(), gt(), lt(), contains()", function() { ok( $("#ap a").eq(1)[0].id == "groups", "eq()" ); isSet( $("#ap a").gt(0).get(), q("groups", "anchor1", "mark"), "gt()" ); isSet( $("#ap a").lt(3).get(), q("google", "groups", "anchor1"), "lt()" ); isSet( $("#foo a").contains("log").get(), q("anchor2", "simon"), "contains()" ); 
test("$.className", function() { expect(6); var x = $("<p>Hi</p>")[0]; var c = $.className; c.add(x, "hi"); ok( x.className == "hi", "Check single added class" ); c.add(x, "foo bar"); ok( x.className == "hi foo bar", "Check more added classes" ); c.remove(x); ok( x.className == "", "Remove all classes" ); c.add(x, "hi foo bar"); c.remove(x, "foo"); ok( x.className == "hi bar", "Check removal of one class" ); ok( c.has(x, "hi"), "Check has1" ); ok( c.has(x, "bar"), "Check has2" ); 
test("eq(), gt(), lt(), contains()", function() {	ok( $("#ap a").eq(1)[0].id == "groups", "eq()" );	isSet( $("#ap a").gt(0).get(), q("groups", "anchor1", "mark"), "gt()" );	isSet( $("#ap a").lt(3).get(), q("google", "groups", "anchor1"), "lt()" );	isSet( $("#foo a").contains("log").get(), q("anchor2", "simon"), "contains()" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/buggy/src/jquery/coreTest.js