[Phpmyadmin-devel] Automated testing
Marc Delisle
marc at infomarc.info
Fri Jul 17 11:20:19 CEST 2009
Marc Delisle a écrit :
> Marc Delisle a écrit :
>> Marc Delisle a écrit :
>>> Herman van Rink a écrit :
>>>> Michal Čihař wrote:
>>>>> 3) testFormatNumber(PMA_formatNumberByteDown_test) with data set #4
>>>>> 4) testFormatNumber(PMA_formatNumberByteDown_test) with data set #5
>>>>> 5) testFormatNumber(PMA_formatNumberByteDown_test) with data set #6
>>>>>
>>>> These 3 fail me as well, using the data:
>>>> array(0.00003, 3, 2, '0,03 m'),
>>>> array(0.003, 3, 3, '0,003 '),
>>>> array(-0.003, 6, 0, '-3 m'),
>>>>
>>>> Could someone with intimate formatting knowledge take a look at this to
>>>> determine if PMA_formatNumber() needs fixing, or the testcase?
>>> I'll have a look.
>>>
>> Replacing PMA_pow() by pow() in PMA_formatNumber() removes the failures.
>> Now I'm looking why...
>>
>
> PMA_pow() exits if the exponent is negative; removing this test "fixes"
> the problem but I'm looking for all impacts.
>
Should be fixed now.
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list