incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Pevtsov" <Ant...@moscow.vdiweb.com>
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: http://svn.apache.org/viewcvs.cgi?rev=351871&view=rev
> 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);
etc. 

?


With best wishes,
Anton Pevtsov

Mime
View raw message