stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: test for lib.alg.find
Date Mon, 05 Dec 2005 20:15:10 GMT
Anton Pevtsov wrote:
> Martin, thank you for your comments. Thay are very useful.

You're welcome :)

> 
[...]
> 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);

Good point! I agree, that would be a useful enhancement. I made the
change here: http://svn.apache.org/viewcvs.cgi?rev=354154&view=rev

Thanks!
Martin

Mime
View raw message