rem: ok( $('#foo').css('opacity') == n, "Assert opacity is " + n + " as a String" ); 
add: ok( $('#foo').css('opacity') == parseFloat(n), "Assert opacity is " + parseFloat(n) + " as a String" ); 
context: test("css(String|Hash)", function() {	expect(19);		ok( $('#main').css("display") == 'none', 'Check for css property "display"');		ok( $('#foo').is(':visible'), 'Modifying CSS display: Assert element is visible');	$('#foo').css({display: 'none'});	ok( !$('#foo').is(':visible'), 'Modified CSS display: Assert element is hidden');	$('#foo').css({display: 'block'});	ok( $('#foo').is(':visible'), 'Modified CSS display: Assert element is visible');		$('#floatTest').css({styleFloat: 'right'});	ok( $('#floatTest').css('styleFloat') == 'right', 'Modified CSS float using "styleFloat": Assert float is right');	$('#floatTest').css({cssFloat: 'left'});	ok( $('#floatTest').css('cssFloat') == 'left', 'Modified CSS float using "cssFloat": Assert float is left');	$('#floatTest').css({'float': 'right'});	ok( $('#floatTest').css('float') == 'right', 'Modified CSS float using "float": Assert float is right');	$('#floatTest').css({'font-size': '30px'});	ok( $('#floatTest').css('font-size') == '30px', 'Modified CSS font-size: Assert font-size is 30px');		$.each("0,0.25,0.5,0.75,1".split(','), function(i, n) {		$('#foo').css({opacity: n});		ok( $('#foo').css('opacity') == n, "Assert opacity is " + n + " as a String" );		$('#foo').css({opacity: parseFloat(n)});		ok( $('#foo').css('opacity') == n, "Assert opacity is " + n + " as a Number" );	});		$('#foo').css({opacity: ''});	ok( $('#foo').css('opacity') == '1', "Assert opacity is 1 when set to an empty String" );});
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/7ad613c5e9aaf79666c5de39ebfafad5c46e13b9/coreTest.js/buggy/src/jquery/coreTest.js