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("remove()", function() { expect(4); $("#ap").children().remove(); ok( $("#ap").text().length > 10, "Check text is not removed" ); ok( $("#ap").children().length == 0, "Check remove" );  reset(); $("#ap").children().remove("a"); ok( $("#ap").text().length > 10, "Check text is not removed" ); ok( $("#ap").children().length == 1, "Check filtered remove" ); 
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/1be558203961c43043d6e9de3341e8bb9c3dcbf3/core.js/buggy/test/unit/core.js