mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-18 14:15:22 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@7068 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
bca9fad03a
commit
d1d3480cd3
4 changed files with 45 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue