rem: 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"); }); 
add: $.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" ); }); 
context: 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");});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/1be558203961c43043d6e9de3341e8bb9c3dcbf3/core.js/clean/test/unit/core.js