ok( $("#groups").parents("div")[0].id == "main", "Filtered parents check2" );\r
});\r
\r
+test("next/prev([String])", function() {\r
+ ok( $("#ap").next()[0].id == "foo", "Simple next check" );\r
+ ok( $("#ap").next("div")[0].id == "foo", "Filtered next check" );\r
+ ok( $("#ap").next("p").length == 0, "Filtered next check, no match" );\r
+ \r
+ ok( $("#foo").prev()[0].id == "ap", "Simple prev check" );\r
+ ok( $("#foo").prev("p")[0].id == "ap", "Filtered prev check" );\r
+ ok( $("#foo").prev("div").length == 0, "Filtered prev check, no match" );\r
+});\r
+\r
test("show()", function() {\r
expect(1);\r
var pass = true, div = $("div");\r