[fpc-devel] Speed of TTestCase

Martin Frb lazarus at mfriebe.de
Tue Jun 17 16:11:25 CEST 2025


On 14/06/2025 15:44, Michael Van Canneyt via fpc-devel wrote:
>
> But then please do it so the comparison is done only once, i.e. 
> something like:
>
> if aExpected=aValue then
>   Inc(AssertCount)
> else
>   Fail(ComparisonMsg(aMessage, aExpected,aValue),CallerAddress);

https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/1041


More information about the fpc-devel mailing list