 isSet( $("#ap").map(function(){ return $(this).find("a").get(); }), q("google", "groups", "anchor1", "mark"), "Array Map" );  isSet( $("#ap > a").map(function(){ return this.parentNode; }), q("ap","ap","ap"), "Single Map" ); 
ok( $("#ap").children().empty().text().length == 0, "Check text is removed" ); ok( $("#ap").children().length == 4, "Check elements are not removed" ); 
test("map()", function() {	expect(2);	isSet(		$("#ap").map(function(){			return $(this).find("a").get();		}),		q("google", "groups", "anchor1", "mark"),		"Array Map"	);	isSet(		$("#ap > a").map(function(){			return this.parentNode;		}),		q("ap","ap","ap"),		"Single Map"	);});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/1be558203961c43043d6e9de3341e8bb9c3dcbf3/core.js/buggy/test/unit/core.js