Added new speed test and minor cosmetic fixes to

other older tests.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2007-05-19 09:49:19 +00:00
commit 597f650d02
5 changed files with 89 additions and 3 deletions

View file

@ -26,13 +26,13 @@ sum == 'abc'
b = s.begin # only if swig iterators are on
e = s.end
sum = ''
while b != e; sum << b.next; end
while b != e; sum << b.value; b.next; end
sum == 'abc'
b = s.rbegin # only if swig iterators are on
e = s.rend
sum = ''
while b != e; sum << b.next; end
while b != e; sum << b.value; b.next; end
sum == 'cba'