[fpc-devel] Patch for test tstrreal4.pp (Issue 13722)
jonas.maebe at elis.ugent.be
Tue Sep 7 14:15:44 CEST 2010
On 07 Sep 2010, at 14:05, zeljko wrote:
> Test haven't passed, so I fixed problem (was in currency negative
> 1.Use clocale under UNIX so various locales can be tested
> 2.Don't hardcode DecimalSeparator, now it's as it is.
That's not a good idea. Tests for different functionality should be
separated into different tests, so that the it's clear what's broken
when the test fails. Simply set decimalseparator to a particular value
on startup if you wish to test the float->string conversion.
More information about the fpc-devel