test("slice()", function() { expect(5); isSet( $("#ap a").slice(1,2), q("groups"), "slice(1,2)" ); isSet( $("#ap a").slice(1), q("groups", "anchor1", "mark"), "slice(1)" ); isSet( $("#ap a").slice(0,3), q("google", "groups", "anchor1"), "slice(0,3)" ); isSet( $("#ap a").slice(-1), q("mark"), "slice(-1)" );  isSet( $("#ap a").eq(1), q("groups"), "eq(1)" ); 
test("empty()", function() { expect(2); ok( $("#ap").children().empty().text().length == 0, "Check text is removed" ); ok( $("#ap").children().length == 4, "Check elements are not removed" ); 
test("slice()", function() {	expect(5);	isSet( $("#ap a").slice(1,2), q("groups"), "slice(1,2)" );	isSet( $("#ap a").slice(1), q("groups", "anchor1", "mark"), "slice(1)" );	isSet( $("#ap a").slice(0,3), q("google", "groups", "anchor1"), "slice(0,3)" );	isSet( $("#ap a").slice(-1), q("mark"), "slice(-1)" );	isSet( $("#ap a").eq(1), q("groups"), "eq(1)" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/1ac9d6fbeed214d59ea5c31a87ff2c19bb08dbc8/core.js/buggy/test/unit/core.js