test("width()", function() { expect(2);  $("#nothiddendiv").width(30); equals($("#nothiddendiv").width(), 30, "Test set to 30 correctly"); $("#nothiddendiv").width(-1); equals($("#nothiddendiv").width(), 30, "Test negative width ignored"); }); 
$.each("0,0.25,0.5,0.75,1".split(','), function(i, n) { $('#foo').css('opacity', n); ok( $('#foo').css('opacity') == parseFloat(n), "Assert opacity is " + parseFloat(n) + " as a String" ); $('#foo').css('opacity', parseFloat(n)); ok( $('#foo').css('opacity') == parseFloat(n), "Assert opacity is " + parseFloat(n) + " as a Number" ); }); 
test("width()", function() {	expect(2);	$("#nothiddendiv").width(30);	equals($("#nothiddendiv").width(), 30, "Test set to 30 correctly");	$("#nothiddendiv").width(-1); // handle negative numbers by ignoring #1599	equals($("#nothiddendiv").width(), 30, "Test negative width ignored");});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/1be558203961c43043d6e9de3341e8bb9c3dcbf3/core.js/buggy/test/unit/core.js