[TYPO3-core] RFC: #10861: Eval of double2 doesn't work

Peter Foerger pfoerger at gmail.com
Wed May 20 13:06:33 CEST 2009


Hi,

Ernesto Baschny [cron IT] schrieb:

> 
> Just install the test-extension from Steffen (attached to the bug
> report), create a new record and try these values in the input form:
> 
> -0,5
> 1000
> 1000,10
> 1000,0
> 600.000.000,00
> 60aaa00
> 
> etc. They should always return the double2 value, and in the first case
> the correct "-0.50".

I have changed the unit test slightly to reflect the above test data.
Furthermore I have changed 'assertEquals' to 'assertSame' to also check
for the right type in one go.

> 
> So +1 from my side on this fix.
> 

+1 on the actual code by reading/testing.

~ Peter


More information about the TYPO3-team-core mailing list