Re: [fpc-devel] Speed of TTestCase

2025-06-17 Thread Martin Frb via fpc-devel
On 17/06/2025 20:05, Michael Van Canneyt via fpc-devel wrote: Thanks, merged. Thanks. Off topic, remember we talked about the TDictionary generic? Any comments on https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/988 ___ fpc-devel mai

Re: [fpc-devel] Speed of TTestCase

2025-06-17 Thread Michael Van Canneyt via fpc-devel
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,aVal

Re: [fpc-devel] Speed of TTestCase

2025-06-17 Thread Martin Frb via fpc-devel
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/f

Re: [fpc-devel] Speed of TTestCase

2025-06-17 Thread Sven Barth via fpc-devel
Hairy Pixels via fpc-devel schrieb am Sa., 14. Juni 2025, 18:20: > On Jun 14, 2025 at 10:50:46 PM, Martin Frb via fpc-devel < > fpc-devel@lists.freepascal.org> wrote: > >> I may... Need to find some time. >> >> Also, what do you think about overloading AssertEquals (and the like) >> taking >> Ass