test("next/prev([String])", function() { expect(8); ok( $("#ap").next()[0].id == "foo", "Simple next check" ); ok( $("#ap").next("div")[0].id == "foo", "Filtered next check" ); ok( $("#ap").next("p").length == 0, "Filtered next check, no match" ); ok( $("#ap").next("div, p")[0].id == "foo", "Multiple filters" );  ok( $("#foo").prev()[0].id == "ap", "Simple prev check" ); ok( $("#foo").prev("p")[0].id == "ap", "Filtered prev check" ); ok( $("#foo").prev("div").length == 0, "Filtered prev check, no match" ); ok( $("#foo").prev("p, div")[0].id == "ap", "Multiple filters" ); 
test("siblings([String])", function() { expect(4); isSet( $("#en").siblings().get(), q("sndp", "sap"), "Check for siblings" ); isSet( $("#sndp").siblings("[code]").get(), q("sap"), "Check for filtered siblings (has code child element)" ); isSet( $("#sndp").siblings("[a]").get(), q("en", "sap"), "Check for filtered siblings (has anchor child element)" ); isSet( $("#foo").siblings("form, b").get(), q("form", "floatTest"), "Check for multiple filters" ); 
test("next/prev([String])", function() {	expect(8);	ok( $("#ap").next()[0].id == "foo", "Simple next check" );	ok( $("#ap").next("div")[0].id == "foo", "Filtered next check" );	ok( $("#ap").next("p").length == 0, "Filtered next check, no match" );	ok( $("#ap").next("div, p")[0].id == "foo", "Multiple filters" );		ok( $("#foo").prev()[0].id == "ap", "Simple prev check" );	ok( $("#foo").prev("p")[0].id == "ap", "Filtered prev check" );	ok( $("#foo").prev("div").length == 0, "Filtered prev check, no match" );	ok( $("#foo").prev("p, div")[0].id == "ap", "Multiple filters" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/buggy/src/jquery/coreTest.js