git-svn-id: svn://ultimatepp.org/upp/trunk@7068 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-03-21 13:11:55 +00:00
parent bca9fad03a
commit d1d3480cd3
4 changed files with 45 additions and 0 deletions

View file

@ -13,6 +13,12 @@ void Check(T haystack, T needle, int pos)
DUMP(haystack.Find(needle));
NEVER();
}
if(haystack.ReverseFind(needle) != pos) {
DUMP(haystack);
DUMP(needle);
DUMP(haystack.ReverseFind(needle));
NEVER();
}
}
template <class T>