[fpc-devel] Speed of TTestCase

Michael Van Canneyt michael at freepascal.org
Tue Jun 17 20:05:08 CEST 2025



On Tue, 17 Jun 2025, Martin Frb via fpc-devel wrote:

> 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

Thanks, merged.

Michael.


More information about the fpc-devel mailing list