stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Pevtsov" <>
Subject RE: test for lib.alg.find
Date Mon, 05 Dec 2005 16:18:51 GMT
Martin, thank you for your comments. Thay are very useful.

Martin Sebor wrote:
> There are a few issues with the test. I corrected them and committed 
> the result here:
> Please take a look to see what I did to simplify the logic. I point
out a few of the problems below:

But I am not sure that current test version covers all possible cases:
it doesn't exercise the case when there are several elements in the
given sequence for which the predicate is true. May be, we should add
something like this:

TEST ("aabcdefghijk",  0);
TEST ("abbcdefghijk",  1);


With best wishes,
Anton Pevtsov

View raw message