test("add(String|Element|Array)", function() { expect(7); isSet( $("#sndp").add("#en").add("#sap").get(), q("sndp", "en", "sap"), "Check elements from document" ); isSet( $("#sndp").add( $("#en")[0] ).add( $("#sap") ).get(), q("sndp", "en", "sap"), "Check elements from document" ); ok( $([]).add($("#form")[0].elements).length >= 13, "Check elements from array" );  var x = $([]).add($("<p id='x1'>xxx</p>")).add($("<p id='x2'>xxx</p>")); ok( x[0].id == "x1", "Check on-the-fly element1" ); ok( x[1].id == "x2", "Check on-the-fly element2" );  var x = $([]).add("<p id='x1'>xxx</p>").add("<p id='x2'>xxx</p>"); ok( x[0].id == "x1", "Check on-the-fly element1" ); ok( x[1].id == "x2", "Check on-the-fly element2" ); 
test("get()", function() { expect(1); isSet( $("p").get(), q("firstp","ap","sndp","en","sap","first"), "Get All Elements" ); 
test("add(String|Element|Array)", function() {	expect(7);	isSet( $("#sndp").add("#en").add("#sap").get(), q("sndp", "en", "sap"), "Check elements from document" );	isSet( $("#sndp").add( $("#en")[0] ).add( $("#sap") ).get(), q("sndp", "en", "sap"), "Check elements from document" );	ok( $([]).add($("#form")[0].elements).length >= 13, "Check elements from array" );		var x = $([]).add($("<p id='x1'>xxx</p>")).add($("<p id='x2'>xxx</p>"));	ok( x[0].id == "x1", "Check on-the-fly element1" );	ok( x[1].id == "x2", "Check on-the-fly element2" );		var x = $([]).add("<p id='x1'>xxx</p>").add("<p id='x2'>xxx</p>");	ok( x[0].id == "x1", "Check on-the-fly element1" );	ok( x[1].id == "x2", "Check on-the-fly element2" );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/1be558203961c43043d6e9de3341e8bb9c3dcbf3/core.js/buggy/test/unit/core.js