rem: test("text()", function() { expect(1); var expected = "This link has class=\"blog\": Simon Willison's Weblog"; ok( $('#sap').text() == expected, 'Check for merged text of more then one element.' ); }); 
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("text()", function() {	expect(1);	var expected = "This link has class=\"blog\": Simon Willison's Weblog";	ok( $('#sap').text() == expected, 'Check for merged text of more then one element.' );});
meta: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5264/1ac9d6fbeed214d59ea5c31a87ff2c19bb08dbc8/core.js/clean/test/unit/core.js