test("filter()", function() { expect(6); isSet( $("#form input").filter(":checked").get(), q("radio2", "check1"), "filter(String)" ); isSet( $("p").filter("#ap, #sndp").get(), q("ap", "sndp"), "filter('String, String')" ); isSet( $("p").filter("#ap,#sndp").get(), q("ap", "sndp"), "filter('String,String')" ); isSet( $("p").filter(function() { return !$("a", this).length }).get(), q("sndp", "first"), "filter(Function)" ); 
test("html(String)", function() { expect(11); var div = $("#main > div"); div.html("<b>test</b>"); var pass = true; for ( var i = 0; i < div.size(); i++ ) { if ( div.get(i).childNodes.length != 1 ) pass = false; } ok( pass, "Set HTML" ); 
test("filter()", function() {	expect(6);	isSet( $("#form input").filter(":checked").get(), q("radio2", "check1"), "filter(String)" );	isSet( $("p").filter("#ap, #sndp").get(), q("ap", "sndp"), "filter('String, String')" );	isSet( $("p").filter("#ap,#sndp").get(), q("ap", "sndp"), "filter('String,String')" );	isSet( $("p").filter(function() { return !$("a", this).length }).get(), q("sndp", "first"), "filter(Function)" );	// using contents will get comments regular, text, and comment nodes	var j = $("#nonnodes").contents();	equals( j.filter("span").length, 1, "Check node,textnode,comment to filter the one span" );	equals( j.filter("[name]").length, 0, "Check node,textnode,comment to filter the one span" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/279f77e9609fba62c11a06f8c65221b16f7bc7d4/core.js/clean/test/unit/core.js