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