more tests

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-04-07 03:32:41 +00:00
commit f62bf7a2e7
2 changed files with 16 additions and 0 deletions

View file

@ -33,3 +33,14 @@ if va[0].f(1) != 6:
b.val = 7
if va[3].f(1) != 8:
raise RuntimeError,"bad std::vector<A*> mapping"
ip = PtrInt()
ap = new_ArrInt(10)
vi = IntPtrVector((ip,ap,None))
if vi[1] != ap:
raise RuntimeError,"bad std::vector<int*> mapping"