+test("filter(Function)", function() {
+ expect(1);
+
+ isSet( jQuery("p").filter(function() { return !jQuery("a", this).length }).get(), q("sndp", "first"), "filter(Function)" );
+});
+
+test("filter(Element)", function() {
+ expect(1);
+
+ var element = document.getElementById("text1");
+ isSet( jQuery("#form input").filter(element).get(), q("text1"), "filter(Element)" );
+});
+
+test("filter(Array)", function() {
+ expect(1);
+
+ var elements = [ document.getElementById("text1") ];
+ isSet( jQuery("#form input").filter(elements).get(), q("text1"), "filter(Element)" );
+});
+
+test("filter(jQuery)", function() {
+ expect(1);
+
+ var elements = jQuery("#text1");
+ isSet( jQuery("#form input").filter(elements).get(), q("text1"), "filter(Element)" );
+})
+